|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::TextureBuffer::set_pixel_data | ( | const void * | data, |
| size_t | size | ||
| ) |
Replace pixel data.
| data | Pointer to pixel data (size must match width*height*channels) |
| size | Size in bytes |
Marks texture as dirty. TextureProcessor will re-upload on next frame.
Definition at line 97 of file TextureBuffer.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, m_pixel_data, m_texture_dirty, MF_DEBUG, and MF_WARN.