Signature
glCreateShader(
GLenum (
shaderType
)
)-> GLuint
Parameters
Variables | Description |
---|---|
shaderType |
Specifies the type of shader to be created.
Must be one of
GL_COMPUTE_SHADER
,
GL_VERTEX_SHADER
,
GL_TESS_CONTROL_SHADER
,
GL_TESS_EVALUATION_SHADER
,
GL_GEOMETRY_SHADER
,
or
GL_FRAGMENT_SHADER
.
|
Sample Code References
The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glCreateShader