MayaFlux 0.3.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ clear()

void MayaFlux::Nodes::GpuSync::TextureNode::clear ( )
protected

Clear texture to black.

Definition at line 70 of file TextureNode.cpp.

71{
72 std::ranges::fill(m_pixel_buffer, 0.0F);
73 m_pixel_data_dirty = true;
74}
bool m_pixel_data_dirty
Flag: pixel data changed since last GPU upload.

References m_pixel_buffer, and m_pixel_data_dirty.