 | glDepthMask Method |
Enable or disable writing into the depth buffer.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void DepthMask(
bool enable
)
Public Shared Sub DepthMask (
enable As Boolean
)
public:
static void DepthMask(
bool enable
)
static member DepthMask :
enable : bool -> unit
Parameters
- enable
- Type: SystemBoolean
specifies whether the depth buffer is enabled for writing.
If False, depth buffer writing is disabled.
Otherwise, it is enabled. Initially, depth buffer writing is enabled.
RemarksOpenGL API: glDepthMask
See Also