diff options
Diffstat (limited to 'src/runtimerender/Qt3DSRenderDynamicObjectSystemCommands.h')
-rw-r--r-- | src/runtimerender/Qt3DSRenderDynamicObjectSystemCommands.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/runtimerender/Qt3DSRenderDynamicObjectSystemCommands.h b/src/runtimerender/Qt3DSRenderDynamicObjectSystemCommands.h index d42507b..0628d8d 100644 --- a/src/runtimerender/Qt3DSRenderDynamicObjectSystemCommands.h +++ b/src/runtimerender/Qt3DSRenderDynamicObjectSystemCommands.h @@ -54,6 +54,7 @@ namespace render { // Apply the depth buffer as an input texture. ApplyDepthValue, Render, // Render to current FBO + ApplyDepth, ApplyBlending, ApplyRenderState, // apply a render state ApplyBlitFramebuffer, @@ -490,6 +491,26 @@ namespace render { } }; + struct SApplyDepth : public SCommand + { + NVRenderBoolOp::Enum m_depthFunc; + bool m_depthMask; + + SApplyDepth(NVRenderBoolOp::Enum depthFunc, bool depthMask) + : SCommand(CommandTypes::ApplyDepth) + , m_depthFunc(depthFunc) + , m_depthMask(depthMask) + { + } + + SApplyDepth(const SApplyDepth &other, IStringTable &) + : SCommand(CommandTypes::ApplyDepth) + , m_depthFunc(other.m_depthFunc) + , m_depthMask(other.m_depthMask) + { + } + }; + struct SApplyBlending : public SCommand { NVRenderSrcBlendFunc::Enum m_SrcBlendFunc; |