bool m_pixel_data_dirty
Flag: pixel data changed since last GPU upload.
std::array< float, 4 > get_pixel(uint32_t x, uint32_t y) const
Get pixel color at (x, y)
std::vector< float > m_pixel_buffer
TextureNode(uint32_t width, uint32_t height)
void fill(float r, float g, float b, float a=1.0F)
Fill entire texture with solid color.
void set_pixel(uint32_t x, uint32_t y, float r, float g, float b, float a=1.0F)
Set pixel color at (x, y)