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

◆ disable_depth_test()

void MayaFlux::Buffers::RenderProcessor::disable_depth_test ( )

Disable depth testing and depth writes for this processor's pipeline.

Leaves the buffer's depth attachment requirement intact so the pass still has a depth buffer available; only the per-pipeline test and write are off.

Definition at line 113 of file RenderProcessor.cpp.

114{
115 auto next = m_depth_stencil;
116 next.depth_test_enable = false;
117 next.depth_write_enable = false;
118
119 if (next == m_depth_stencil) {
120 return;
121 }
122
123 m_depth_stencil = next;
125}
Portal::Graphics::DepthStencilConfig m_depth_stencil

References MayaFlux::Portal::Graphics::DepthStencilConfig::depth_test_enable, m_depth_stencil, and MayaFlux::Buffers::ShaderProcessor::m_needs_pipeline_rebuild.