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

◆ enable_depth_test()

void MayaFlux::Buffers::RenderProcessor::enable_depth_test ( Portal::Graphics::CompareOp  compare_op = Portal::Graphics::CompareOp::LESS)

Enable depth testing for this processor's pipeline.

Parameters
compare_opDepth comparison operation (default: LESS)

Marks the owning buffer as requiring a depth attachment. Pipeline will be created with D32_SFLOAT depth format.

Definition at line 87 of file RenderProcessor.cpp.

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

Referenced by set_view_transform(), and set_view_transform_source().

+ Here is the caller graph for this function: