1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 22:50:23 +00:00
QB64-PE/internal/help/_glColorMaterial__001000010000000.txt
Roland Heyder 6912727753 Update help files
Help file snapshot as of 07/31/2022.
2022-07-31 23:57:56 +02:00

32 lines
1.4 KiB
Plaintext

{{QBDLDATE:07-31-2022}}
{{QBDLTIME:23:47:40}}
{{DISPLAYTITLE:_glColorMaterial}}
The '''_glColorMaterial''' statement causes a material color to track the current color.
{{PageSyntax}}
: '''_glColorMaterial''' GLenum {{Parameter|face}}, GLenum {{Parameter|mode}}
{{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/glcolormaterial Microsoft Docs] and is also valid for QB64 usage.
{{PageSeeAlso}}
* [[_GL|SUB _GL]]
* [[_glBegin]], [https://docs.microsoft.com/en-us/windows/win32/opengl/glcolor-functions _glColor], [[_glDisable]], [[_glEnable]]
* [[_glEnd]], [https://docs.microsoft.com/en-us/windows/win32/opengl/glgetbooleanv--glgetdoublev--glgetfloatv--glgetintegerv _glGet], [[_glIsEnabled]], [https://docs.microsoft.com/en-us/windows/win32/opengl/gllight-functions _glLight]
* [https://docs.microsoft.com/en-us/windows/win32/opengl/gllightmodel-functions _glLightModel], [https://docs.microsoft.com/en-us/windows/win32/opengl/glmaterial-functions _glMaterial]
{{PageNavigation}}
[[Category:Final]]