SoDepthBufferElementSet Method (SoState, Boolean, Boolean, SoDepthBufferElementDepthWriteFunctions, SbVec2f) |
Sets the depth buffer parameters.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public static void Set(
SoState state,
bool test,
bool write,
SoDepthBufferElementDepthWriteFunctions function,
SbVec2f range
)
Public Shared Sub Set (
state As SoState,
test As Boolean,
write As Boolean,
function As SoDepthBufferElementDepthWriteFunctions,
range As SbVec2f
)
public:
static void Set(
SoState^ state,
bool test,
bool write,
SoDepthBufferElementDepthWriteFunctions function,
SbVec2f range
)
static member Set :
state : SoState *
test : bool *
write : bool *
function : SoDepthBufferElementDepthWriteFunctions *
range : SbVec2f -> unit
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- test
- Type: SystemBoolean
- write
- Type: SystemBoolean
- function
- Type: OIV.Inventor.ElementsSoDepthBufferElementDepthWriteFunctions
- range
- Type: OIV.InventorSbVec2f
Remarks This method will (indirectly) call glDepthMask, glDepthFunc, glDepthRange with the new values
See Also