API Reference / @gtkx/gl / specializeShader
Function: specializeShader()
specializeShader(
shader,pEntryPoint,numSpecializationConstants,pConstantIndex,pConstantValue):void
Defined in: generated/commands.d.ts:4761
void glSpecializeShader(GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue)
Provided by GL_VERSION_4_6.
Parameters
shader
number
GLuint, object class shader
pEntryPoint
string
const GLchar *
numSpecializationConstants
number
GLuint
pConstantIndex
number[] | Uint32Array<ArrayBufferLike>
const GLuint *, length numSpecializationConstants
pConstantValue
number[] | Uint32Array<ArrayBufferLike>
const GLuint *, length numSpecializationConstants
Returns
void
See
https://registry.khronos.org/OpenGL-Refpages/gl4/html/glSpecializeShader.xhtml