SetInvertCulling(bool)
Add a "set invert culling" command to the buffer.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public void SetInvertCulling(bool invertCulling)
Parameters
A boolean indicating whether to invert the backface culling (true) or not (false).
Remarks
When the command buffer is executed, the backface culling is either inverted (when invertCulling is set to true) or not (when invertCulling is set to false) (see GL.invertCulling).