|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::DataWriteProcessor::setup_pixel_target | ( | uint32_t | width, |
| uint32_t | height, | ||
| Portal::Graphics::ImageFormat | format, | ||
| std::string | binding = "texSampler" |
||
| ) |
Configure the pixel upload path for texture modalities.
Must be called before the first set_data() when the attached buffer has a texture modality and is not a TextureBuffer. For TextureBuffer targets, call this directly TextureBuffer::set_pixel_data().
| width | Texture width in texels. |
| height | Texture height in texels. |
| format | Pixel format. |
| binding | Descriptor name to bind the VKImage to on the RenderProcessor. |
Definition at line 57 of file DataWriteProcessor.cpp.
References m_tex_binding, m_tex_format, m_tex_height, m_tex_width, and width.