CullFace QML Type▲
-
Import Statement: import Qt3D.Render 2.4
-
Since:: Qt 5.7
-
Inherits:: RenderState
-
Instantiates:: QCullFace
-
Group: CullFace is part of renderstates
Detailed Description▲
CullFace sets whether the front or back facets are culled. Facets include triangles, quadrilaterals, polygons and rectangles.
It can be added to the renderStates property of a RenderPass:
Sélectionnez
RenderPass {
shaderProgram
:
ShaderProgram {
// ...
}
renderStates
:
[
CullFace {
mode
:
CullFace.Front
}
]
}
Or added to the renderStates property of a RenderStateSet:
Sélectionnez
RenderStateSet {
renderStates
:
[
CullFace {
mode
:
CullFace.Front
}
]
}
See Also▲
See also FrontFace