|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::DataWriteProcessor::set_pixel_data | ( | Kakshya::DataVariant | variant | ) |
Supply pixel data for the co-resident texture on the next cycle.
Independent of the vertex data path. Requires setup_pixel_target() to have been called. On the next processing_function() call the variant is routed through as_texture_access() and uploaded to the GPU texture bound at the configured binding.
Thread-safe. The variant is swapped atomically behind m_pixel_dirty.
| variant | Pixel data compatible with the format passed to setup_pixel_target(). |
Definition at line 51 of file DataWriteProcessor.cpp.
References m_pixel_dirty, and m_pixel_pending.