module State_attribute:Base class for state attributes.sig
..end
type
t
type
values =
| |
OFF |
| |
ON |
| |
OVERRIDE |
| |
PROTECTED |
| |
INHERIT |
When using in conjunction with GLModeValues, all Values have
meaning. When using in conjection with StateAttribute
OverrideValue only OFF, OVERRIDE and INHERIT are
meaningful. However, they are useful when using GLModeValue and
OverrideValue in conjunction with each other as when using
Osg.State_set.set_attribute_and_modes
.
Enumerator:
* OFF means that associated GLMode and Override is disabled.
* ON means that associated GLMode is enabled and Override is
disabled.
* OVERRIDE Overriding of GLMode's or StateAttributes is enabled,
so that state below it is overridden.
* PROTECTED Protecting of GLMode's or StateAttributes is enabled,
so that state from above cannot override this and below state.
* INHERIT means that GLMode or StateAttribute should be inherited
from above.
val mask_of_value : values -> int
val mask_of_values : values list -> int
val values_of_mask : int -> values list
type
attribute_type =
| |
TEXTURE |
| |
POLYGONMODE |
| |
POLYGONOFFSET |
| |
MATERIAL |
| |
ALPHAFUNC |
| |
ANTIALIAS |
| |
COLORTABLE |
| |
CULLFACE |
| |
FOG |
| |
FRONTFACE |
| |
LIGHT |
| |
POINT |
| |
LINEWIDTH |
| |
LINESTIPPLE |
| |
POLYGONSTIPPLE |
| |
SHADEMODEL |
| |
TEXENV |
| |
TEXENVFILTER |
| |
TEXGEN |
| |
TEXMAT |
| |
LIGHTMODEL |
| |
BLENDFUNC |
| |
BLENDEQUATION |
| |
LOGICOP |
| |
STENCIL |
| |
COLORMASK |
| |
DEPTH |
| |
VIEWPORT |
| |
SCISSOR |
| |
BLENDCOLOR |
| |
MULTISAMPLE |
| |
CLIPPLANE |
| |
COLORMATRIX |
| |
VERTEXPROGRAM |
| |
FRAGMENTPROGRAM |
| |
POINTSPRITE |
| |
PROGRAM |
| |
CLAMPCOLOR |
| |
HINT |
| |
VALIDATOR |
| |
VIEWMATRIXEXTRACTOR |
| |
OSGNV_PARAMETER_BLOCK |
| |
OSGNVEXT_TEXTURE_SHADER |
| |
OSGNVEXT_VERTEX_PROGRAM |
| |
OSGNVEXT_REGISTER_COMBINERS |
| |
OSGNVCG_PROGRAM |
| |
OSGNVSLANG_PROGRAM |
| |
OSGNVPARSE_PROGRAM_PARSER |