mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 15:20:18 +00:00
30 lines
1 KiB
Text
30 lines
1 KiB
Text
|
{{QBDLDATE:07-31-2022}}
|
||
|
{{QBDLTIME:23:46:58}}
|
||
|
{{DISPLAYTITLE:_glColor3us}}
|
||
|
The '''_glColor3us''' statement sets the current color.
|
||
|
|
||
|
|
||
|
{{PageSyntax}}
|
||
|
: '''_glColor3us''' GLushort {{Parameter|red}}, GLushort {{Parameter|green}}, GLushort {{Parameter|blue}}
|
||
|
|
||
|
|
||
|
{{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/glcolor3us Microsoft Docs] and is also valid for QB64 usage.
|
||
|
|
||
|
|
||
|
{{PageSeeAlso}}
|
||
|
* [[_GL|SUB _GL]]
|
||
|
* [[_glBegin]], [[_glEnd]], [https://docs.microsoft.com/en-us/windows/win32/opengl/glgetbooleanv--glgetdoublev--glgetfloatv--glgetintegerv _glGet], [https://docs.microsoft.com/en-us/windows/win32/opengl/glindex-functions _glIndex]
|
||
|
|
||
|
|
||
|
{{PageNavigation}}
|
||
|
|
||
|
[[Category:Final]]
|