|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::RenderProcessor::set_view_transform | ( | const Kinesis::ViewTransform & | vt, |
| bool | enable_depth = true, |
||
| Portal::Graphics::CullMode | cull = Portal::Graphics::CullMode::BACK |
||
| ) |
Set static view transform (evaluated once)
| vt | View and projection matrices |
| enable_depth | Enable the depth test if it is not already on. False leaves depth state untouched, which is what volume proxy geometry wants: a box that writes depth occludes every later volume drawn at the same geometry. |
| cull | Face culling mode. BACK suits opaque geometry. Volume rendering rasterises back faces so the entry clip works from inside the bounds. |
Definition at line 113 of file RenderProcessor.cpp.
References enable_depth_test(), m_depth_enabled, m_view_transform, m_view_transform_active, m_view_transform_source, and set_cull_mode().
Here is the call graph for this function: