MayaFlux 0.1.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 68 of file TextureNode.cpp.

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

References m_pixel_buffer, and m_pixel_data_dirty.