|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::shared_ptr< Buffers::TextureArrayBuffer > MayaFlux::create_texture_array | ( | const Kakshya::VideoStreamSpec & | spec, |
| const Portal::Graphics::RenderConfig & | render, | ||
| std::optional< Portal::Graphics::FitMode > | fit = Portal::Graphics::FitMode::STRETCH, |
||
| uint32_t | mode = 0 |
||
| ) |
Make a layered texture buffer that draws to a window.
For writing its layers through pipeline routes or by hand. A Chimera over the result is create_chimera(buffer).
| spec | Extent and format of every layer; ring_frames is the layer count. |
| render | How the array is drawn. |
| fit | How a frame of another extent is fitted, or nullopt to drop it. |
| mode | Mode number passed to the fragment shader. |
Definition at line 185 of file Rigs.cpp.
References get_buffer_manager(), MayaFlux::Buffers::GRAPHICS_BACKEND, mode, and MayaFlux::Buffers::TextureArrayBuffer::set_mode().
Here is the call graph for this function: