glUseProgram Function
GL_APICALL void GL_APIENTRY glUseProgram(
GLuint program
);
| Name | Description | |
|---|---|---|
| in | program | Program object |
Embeds a program object as part of the current rendering pipeline.
Set program to the program object. A GL_INVALID_VALUE error occurs when program is set to an invalid value.
This function generates the following errors.
| GL_INVALID_OPERATION | An incorrectly linked program was specified. |
|---|
CONFIDENTIAL