core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

gl_shader Struct Reference

#include <mtypes.h>


Detailed Description

A GLSL vertex or fragment shader object.

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_programProgram
 Post-compile assembly code.
GLchar * InfoLog
struct gl_sl_pragmas Pragmas

Field Documentation

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]


The documentation for this struct was generated from the following file:
Generated on Sun Sep 27 06:47:47 2009 for Mesa Main by  doxygen 1.5.4