1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-04 04:50:22 +00:00
QB64-PE/internal/help/_glCullFace__0010001000.txt
Roland Heyder aeb9c0668b Updates help files for use with new Wiki parser (2nd try)
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
2022-05-21 00:18:31 +02:00

48 lines
1.5 KiB
Plaintext

{{QBDLDATE:05-20-2022}}
{{QBDLTIME:23:18:48}}
'''_glCullFace:''' specify whether front- or back-facing facets can be culled
{{PageSyntax}}
::SUB '''_glCullFace''' (BYVAL mode AS _UNSIGNED LONG)
:: void '''_glCullFace'''(GLenum {{Parameter|mode}});
; mode
: Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants {{KW|_GL_FRONT}}, {{KW|_GL_BACK}}, and {{KW|_GL_FRONT_AND_BACK}} are accepted. The initial value is {{KW|_GL_BACK}}.
{{PageDescription}}
'''_glCullFace''' specifies whether front- or back-facing facets are culled (as specified by ''mode'') when facet culling is enabled. Facet culling is initially disabled. To enable and disable facet culling, call the {{KW|_glEnable}} and {{KW|_glDisable}} commands with the argument {{KW|_GL_CULL_FACE}}. Facets include triangles, quadrilaterals, polygons, and rectangles.
{{KW|_glFrontFace}} specifies which of the clockwise and counterclockwise facets are front-facing and back-facing. See {{KW|_glFrontFace}}.
{{PageNotes}}
If {{Parameter|mode}} is {{KW|_GL_FRONT_AND_BACK}}, no facets are drawn, but other primitives such as points and lines are drawn.
{{PageErrors}}
{{KW|_GL_INVALID_ENUM}} is generated if {{Parameter|mode}} is not an accepted value.
{{PageUseWith}}
{{KW|_glIsEnabled}} with argument {{KW|_GL_CULL_FACE}}
{{KW|_glGet}} with argument {{KW|_GL_CULL_FACE_MODE}}
{{PageSeeAlso}}
[[_GL|SUB _GL]]
{{KW|_glEnable|(GL_CULL_FACE)}}, {{KW|_glFrontFace}}
{{PageCopyright}}