2022-07-31 21:57:56 +00:00
{{QBDLDATE:07-31-2022}}
{{QBDLTIME:23:52:09}}
2022-05-20 22:18:31 +00:00
{{DISPLAYTITLE:_glScissor}}
2022-07-31 21:57:56 +00:00
The '''_glScissor''' statement defines the scissor box.
2022-05-20 22:18:31 +00:00
{{PageSyntax}}
2022-07-31 21:57:56 +00:00
: '''_glScissor''' GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei {{Parameter|width}}, GLsizei {{Parameter|height}}
2022-05-20 22:18:31 +00:00
{{PageParameters}}
2022-07-31 21:57:56 +00:00
* 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}}
2022-05-20 22:18:31 +00:00
{{PageDescription}}
2022-07-31 21:57:56 +00:00
* 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/glscissor Microsoft Docs] and is also valid for QB64 usage.
2022-05-20 22:18:31 +00:00
{{PageSeeAlso}}
* [[_GL|SUB _GL]]
2022-07-31 21:57:56 +00:00
* [[_glBegin]], [[_glEnable]], [[_glEnd]], [[_glIsEnabled]]
* [[_glViewport]]
2022-05-20 22:18:31 +00:00
{{PageNavigation}}
2022-07-31 21:57:56 +00:00
[[Category:Final]]