#include <mtypes.h>
Data Fields | |
GLuint | Id |
GLubyte * | String |
Null-terminated program text. | |
GLint | RefCount |
GLenum | Target |
GL_VERTEX/FRAGMENT_PROGRAM_ARB, GL_FRAGMENT_PROGRAM_NV. | |
GLenum | Format |
String encoding format. | |
GLboolean | Resident |
struct prog_instruction * | Instructions |
GLbitfield | InputsRead |
Bitmask of which input regs are read. | |
GLbitfield | OutputsWritten |
Bitmask of which output regs are written to. | |
GLbitfield | InputFlags [MAX_PROGRAM_INPUTS] |
PROG_PARAM_BIT_x flags. | |
GLbitfield | OutputFlags [MAX_PROGRAM_OUTPUTS] |
PROG_PARAM_BIT_x flags. | |
GLbitfield | TexturesUsed [MAX_TEXTURE_UNITS] |
TEXTURE_x_BIT bitmask. | |
GLbitfield | SamplersUsed |
Bitfield of which samplers are used. | |
GLbitfield | ShadowSamplers |
Texture units used for shadow sampling. | |
struct gl_program_parameter_list * | Parameters |
Named parameters, constants, etc. | |
GLfloat | LocalParams [MAX_PROGRAM_LOCAL_PARAMS][4] |
Numbered local parameters. | |
struct gl_program_parameter_list * | Varying |
Vertex/fragment shader varying vars. | |
struct gl_program_parameter_list * | Attributes |
Vertex program user-defined attributes. | |
GLubyte | SamplerUnits [MAX_SAMPLERS] |
Map from sampler unit to texture unit (set by glUniform1i()). | |
gl_texture_index | SamplerTargets [MAX_SAMPLERS] |
Which texture target is being sampled (TEXTURE_1D/2D/3D/etc_INDEX). | |
GLuint | NumInstructions |
Logical counts. | |
GLuint | NumTemporaries |
GLuint | NumParameters |
GLuint | NumAttributes |
GLuint | NumAddressRegs |
GLuint | NumAluInstructions |
GLuint | NumTexInstructions |
GLuint | NumTexIndirections |
GLuint | NumNativeInstructions |
Native, actual h/w counts. | |
GLuint | NumNativeTemporaries |
GLuint | NumNativeParameters |
GLuint | NumNativeAttributes |
GLuint | NumNativeAddressRegs |
GLuint | NumNativeAluInstructions |
GLuint | NumNativeTexInstructions |
GLuint | NumNativeTexIndirections |
GLuint gl_program::Id |
GLubyte* gl_program::String |
Null-terminated program text.
GLint gl_program::RefCount |
GLenum gl_program::Target |
GL_VERTEX/FRAGMENT_PROGRAM_ARB, GL_FRAGMENT_PROGRAM_NV.
GLenum gl_program::Format |
String encoding format.
GLboolean gl_program::Resident |
struct prog_instruction* gl_program::Instructions [read] |
GLbitfield gl_program::InputsRead |
Bitmask of which input regs are read.
GLbitfield gl_program::OutputsWritten |
Bitmask of which output regs are written to.
GLbitfield gl_program::InputFlags[MAX_PROGRAM_INPUTS] |
PROG_PARAM_BIT_x flags.
GLbitfield gl_program::OutputFlags[MAX_PROGRAM_OUTPUTS] |
PROG_PARAM_BIT_x flags.
GLbitfield gl_program::TexturesUsed[MAX_TEXTURE_UNITS] |
TEXTURE_x_BIT bitmask.
GLbitfield gl_program::SamplersUsed |
Bitfield of which samplers are used.
GLbitfield gl_program::ShadowSamplers |
Texture units used for shadow sampling.
struct gl_program_parameter_list* gl_program::Parameters [read] |
Named parameters, constants, etc.
from program text
GLfloat gl_program::LocalParams[MAX_PROGRAM_LOCAL_PARAMS][4] |
Numbered local parameters.
struct gl_program_parameter_list* gl_program::Varying [read] |
Vertex/fragment shader varying vars.
struct gl_program_parameter_list* gl_program::Attributes [read] |
Vertex program user-defined attributes.
GLubyte gl_program::SamplerUnits[MAX_SAMPLERS] |
Map from sampler unit to texture unit (set by glUniform1i()).
gl_texture_index gl_program::SamplerTargets[MAX_SAMPLERS] |
Which texture target is being sampled (TEXTURE_1D/2D/3D/etc_INDEX).
GLuint gl_program::NumInstructions |
Logical counts.
GLuint gl_program::NumTemporaries |
GLuint gl_program::NumParameters |
GLuint gl_program::NumAttributes |
GLuint gl_program::NumAddressRegs |
Native, actual h/w counts.