Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

gl_uniform Struct Reference

#include <prog_uniform.h>

List of all members.


Detailed Description

Shader program uniform variable. The glGetUniformLocation() and glUniform() commands will use this information. Note that a uniform such as "binormal" might be used in both the vertex shader and the fragment shader. When glUniform() is called to set the uniform's value, it must be updated in both the vertex and fragment shaders. The uniform may be in different locations in the two shaders so we keep track of that here.

Definition at line 48 of file prog_uniform.h.


Public Attributes

GLint FragPos
const char * Name
GLint VertPos

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index