enum
a OpenGL constant; each variable has a list of acceptable values reference
a variable reference (<varName>
) bool
may be TRUE
or FALSE
bool AlphaTestEnable
enum AlphaFunc (values: NEVER, ALWAYS, LESS, LEQUAL, EQUAL, GEQUAL, GREATER, or NOTEQUAL)
float AlphaRef
enum SrcBlend (values: ZERO, ONE, SRC_COLOR, ONE_MINUS_SRC_COLOR, DST_COLOR, ONE_MINUS_DST_COLOR, SRC_ALPHA, ONE_MINUS_SRC_ALPHA, DST_ALPHA, ONE_MINUS_DST_ALPHA, CONSTANT_COLOR, ONE_MINUS_CONSTANT_COLOR, CONSTANT_ALPHA, ONE_MINUS_CONSTANT_ALPHA, SRC_ALPHA_SATURATE)
enum DstBlend (values: same as DstBlend)
bvec4 ColorWriteMask
enum FrontPolygonMode (values: POINT, LINE, FILL)
enum BackPolygonMode (values: same as FrontPolygonMode)
enum ShadeMode (values: FLAT, SMOOTH)
bool StencilTestEnable
int StencilRef
enum StencilFunc (values: NEVER, ALWAYS, LESS, LEQUAL, EQUAL, GEQUAL, GREATER, or NOTEQUAL)
int StencilFuncMask
enum StencilFail (values: KEEP, ZERO, REPLACE, INCR, DECR, INVERT, INCR_WRAP, and DECR_WRAP)
enum StencilDepthFail (values: same as StencilFail)
enum StencilPass (values: same as StencilFail)
int StencilWriteMask
bool DepthEnable
enum DepthFunc (values: NEVER, ALWAYS, LESS, LEQUAL, EQUAL, GEQUAL, GREATER, or NOTEQUAL)
bool DepthWriteMask
enum CullFace (values: NONE, FRONT, BACK, FRONT_AND_BACK)
enum FrontFace (values: CW, CCW)
float PointSize
float LineWidth
enum TextureGenMode[n] (values: NONE, OBJECT_LINEAR, EYE_LINEAR, SPHERE_MAP, REFLECTION_MAP, NORMAL_MAP)
enum SamplerMinFilter[n] (values: NEAREST, LINEAR, NEAREST_MIPMAP_NEAREST, NEAREST_MIPMAP_LINEAR, LINEAR_MIPMAP_NEAREST, LINEAR_MIPMAP_LINEAR)
enum SamplerMagFilter[n] (values: NEAREST, LINEAR)
enum SamplerWrapS[n] (values: CLAMP, CLAMP_TO_EDGE, REPEAT, CLAMP_TO_BORDER, MIRRORED_REPEAT)
enum SamplerWrapT[n] (values: same as TextureWrapS)
enum SamplerWrapR[n] (values: same as TextureWrapS)
vec4 SamplerBorderColor[n]
reference Texture[n]
enum ColorCombine[n] (values: REPLACE, MODULATE, ADD, ADD_SIGNED, INTERPOLATE, SUBTRACT, DOT3_RGB, DOT3_RGBA)
enum ColorSrc0[n] (values: TEXTURE, TEXTUREn, CONSTANT, PRIMARY_COLOR, PREVIOUS)
enum ColorSrc1[n] (values: same as ColorSrc0)
enum ColorSrc2[n] (values: same as ColorSrc0)
enum ColorOp0[n] (values: SRC_COLOR, ONE_MINUS_SRC_COLOR, SRC_ALPHA, ONE_MINUS_SRC_ALPHA)
enum ColorOp1[n] (values: same as ColorOp0)
enum ColorOp2[n] (values: same as ColorOp0)
float ColorScale[n]
enum AlphaCombine[n] (values: REPLACE, MODULATE, ADD, ADD_SIGNED, INTERPOLATE, SUBTRACT)
enum AlphaSrc0[n] (values: same as ColorSrc0)
enum AlphaSrc1[n] (values: same as ColorSrc0)
enum AlphaSrc2[n] (values: same as ColorSrc0)
enum AlphaOp0[n] (values: SRC_ALPHA, ONE_MINUS_SRC_ALPHA)
enum AlphaOp1[n] (values: same as AlphaOp0)
enum AlphaOp2[n] (values: same as AlphaOp0)
float AlphaScale[n]
reference Program
type ProgramUniform[name]