Answer the question
In order to leave comments, you need to log in
OpenGL 3.0, is the GL_PROGRAM_BINARY_LENGTH flag available for glGetProgramiv?
Good afternoon.
I want to know the size of the shader banar. They write what can be done through glGetProgramiv(id, GL_PROGRAM_BINARY_LENGTH, size)
but size returns zero all the time. Although the shader works, everything is drawn.
Useful in OpenGL 3 man. For example here:
https://www.khronos.org/opengles/sdk/docs/man3/htm...
mention this GL_PROGRAM_BINARY_LENGTH
but following the link glGetProgramiv here
https://www.khronos.org /opengles/sdk/docs/man3/htm...
we see that this flag is missing.
But here it is:
https://www.opengl.org/sdk/docs/man/html/glGetProg...
What am I not understanding?
Answer the question
In order to leave comments, you need to log in
Tyts . Description below. about zeros
When a progam's GL_LINK_STATUS is GL_FALSE, its program binary length is zero.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question