mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-06 01:10:23 +00:00
6912727753
Help file snapshot as of 07/31/2022.
31 lines
1 KiB
Plaintext
31 lines
1 KiB
Plaintext
{{QBDLDATE:07-31-2022}}
|
|
{{QBDLTIME:23:48:05}}
|
|
{{DISPLAYTITLE:_glDepthMask}}
|
|
The '''_glDepthMask''' statement enables or disables writing into the depth buffer.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: '''_glDepthMask''' GLboolean {{Parameter|flag}}
|
|
|
|
|
|
{{PageParameters}}
|
|
* OpenGL is using its own set of variable types to describe its command parameters.
|
|
* Use the following table to find the respective QB64 [[Variable Types]].
|
|
{{OpenGLTypesPlugin}}
|
|
|
|
|
|
{{PageDescription}}
|
|
* OpenGL's documentation is available in several places, so we won't reproduce it here for another time.
|
|
* The full description for this command can be found at [https://docs.microsoft.com/en-us/windows/win32/opengl/gldepthmask Microsoft Docs] and is also valid for QB64 usage.
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[_GL|SUB _GL]]
|
|
* [[_glBegin]], [[_glColorMask]], [[_glDepthFunc]], [[_glDepthRange]]
|
|
* [[_glEnd]], [https://docs.microsoft.com/en-us/windows/win32/opengl/glgetbooleanv--glgetdoublev--glgetfloatv--glgetintegerv _glGet], [[_glIndexMask]], [[_glStencilMask]]
|
|
|
|
|
|
{{PageNavigation}}
|
|
|
|
[[Category:Final]]
|