#include <mtypes.h>
Data Fields | |
| GLenum | Type |
| GL_FRAGMENT_SHADER || GL_VERTEX_SHADER (first field!). | |
| GLuint | Name |
| AKA the handle. | |
| GLint | RefCount |
| Reference count. | |
| GLboolean | DeletePending |
| GLboolean | CompileStatus |
| GLboolean | Main |
| shader defines main() | |
| GLboolean | UnresolvedRefs |
| const GLchar * | Source |
| Source code string. | |
| GLuint | SourceChecksum |
| for debug/logging purposes | |
| struct gl_program * | Program |
| Post-compile assembly code. | |
| GLchar * | InfoLog |
| struct gl_sl_pragmas | Pragmas |
| GLenum gl_shader::Type |
GL_FRAGMENT_SHADER || GL_VERTEX_SHADER (first field!).
| GLuint gl_shader::Name |
AKA the handle.
| GLint gl_shader::RefCount |
Reference count.
| GLboolean gl_shader::DeletePending |
| GLboolean gl_shader::CompileStatus |
| GLboolean gl_shader::Main |
shader defines main()
| GLboolean gl_shader::UnresolvedRefs |
| const GLchar* gl_shader::Source |
Source code string.
| GLuint gl_shader::SourceChecksum |
for debug/logging purposes
struct gl_program* gl_shader::Program [read] |
Post-compile assembly code.
| GLchar* gl_shader::InfoLog |
struct gl_sl_pragmas gl_shader::Pragmas [read] |
1.5.4