MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_layer_fit()

void MayaFlux::Buffers::TextureArrayBuffer::set_layer_fit ( uint32_t  layer,
std::optional< Portal::Graphics::FitMode >  fit 
)
inline

Give one layer its own fit, replacing the one from set_fit for that layer.

Parameters
layerLayer index.
fitHow a frame of another extent is fitted, or nullopt to drop it.

Definition at line 117 of file TextureArrayBuffer.hpp.

118 {
119 m_layer_fit[layer] = fit;
120 }
std::unordered_map< uint32_t, std::optional< Portal::Graphics::FitMode > > m_layer_fit