glProgramParameter vs glProgramLocalParameter/glProgramEnvParameter
I understand the difference between glProgramLocalParameter*ARB and glProgramEnvParameter*ARB, but how do glProgramParameter*EXT/glProgramParameter*NV relate to these, and are they interchangeable? I've encountered the second set in the case of geometry shaders before the newer GLSL added setting the maximum output vertices and so on in geometry shaders in the shader source instead of through the API.
glProgramParameter*NV is part of the old GL_NV_vertex_program and the EXT version is part of GL_EXT_vertex_program.
I don't know if they are interchangeable. They were also used for fragment_program and geometry_program back then, then GLSL came along so you should use glUniform*****
I don't know if they are interchangeable. They were also used for fragment_program and geometry_program back then, then GLSL came along so you should use glUniform*****
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement