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

◆ set_scissor()

void MayaFlux::Buffers::RenderProcessor::set_scissor ( std::optional< Kinesis::Scissor >  scissor)
inline

Clip this buffer's draws to an NDC region instead of the full framebuffer.

Resolved from RenderConfig::scissor at configuration time. Unset means the full framebuffer, unchanged from before this existed. The pixel rect is recomputed from live swapchain dimensions every frame in execute_shader, so a set scissor stays correct across a resize.

Definition at line 275 of file RenderProcessor.hpp.

275{ m_scissor = scissor; }
std::optional< Kinesis::Scissor > m_scissor