glGetProgramPipelineInfoLog — retrieve the info log string from a program pipeline object
void glGetProgramPipelineInfoLog(
|
GLuint pipeline, |
| GLsizei bufSize, | |
| GLsizei *length, | |
GLchar *infoLog); |
pipeline
Specifies the name of a program pipeline object from which to retrieve the info log.
bufSize
Specifies the maximum number of characters, including the null terminator, that may be written into infoLog.
length
Specifies the address of a variable into which will be written the number of characters written into infoLog.
infoLog
Specifies the address of an array of characters into which will be written the info log for pipeline.
glGetProgramPipelineInfoLog retrieves the info log for the program
pipeline object pipeline. The info log, including its null terminator,
is written into the array of characters whose address is given by infoLog.
The maximum number of characters that may be written into infoLog
is given by bufSize, and the actual number of characters written
into infoLog is returned in the integer whose address is given
by length. If length is NULL,
no length is returned.
The actual length of the info log for the program pipeline may be determined by calling
glGetProgramPipeline with
pname set to GL_INFO_LOG_LENGTH.
GL_INVALID_OPERATION is generated if pipeline is not
a name previously returned from a call to glGenProgramPipelines
or if such a name has been deleted by a call to
glDeleteProgramPipelines.
glGetProgramPipeline
with parameter GL_INFO_LOG_LENGTH.
| OpenGL Version | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Function / Feature Name | 2.0 | 2.1 | 3.0 | 3.1 | 3.2 | 3.3 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5 | 4.6 |
glGetProgramPipelineInfoLog
|
- | - | - | - | - | - | - | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ |
glGenProgramPipelines, glBindProgramPipeline, glDeleteProgramPipelines, glGetProgramPipeline
Copyright © 2010-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.