| SoDrawBufferElementSet Method  | 
Sets the depth buffer parameters. 
 
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2025.2.0.0 (10.18.0.0)
Syntaxpublic static void Set(
	SoState state,
	SoDrawBufferElementSoDrawBufferTypes type
)
Public Shared Sub Set ( 
	state As SoState,
	type As SoDrawBufferElementSoDrawBufferTypes
)
public:
static void Set(
	SoState^ state, 
	SoDrawBufferElementSoDrawBufferTypes type
)
static member Set : 
        state : SoState * 
        type : SoDrawBufferElementSoDrawBufferTypes -> unit 
Parameters
- state
 - Type: OIV.Inventor.MiscSoState
 - type
 - Type: OIV.Inventor.ElementsSoDrawBufferElementSoDrawBufferTypes
 
RemarksThis method will (indirectly) call glDepthMask, glDepthFunc, glDepthRange with the new values 
See Also