Download Users Manual

Transcript
Introduction to CgFX
Table 6.
CgFX OpenGL State Manager States (continued)
State Name
Type
PointSizeMax
float
PointSpriteCoordOrigin int
PointSpriteCoordReplace
[ndx]
Valid Enumerants
Requires
OpenGL 1.4,
ARB_point_parameters,
or
EXT_point_parameters
LowerLeft,
UpperLeft
2.0
2.0, ARB_point_sprite,
or NV_point_sprite; ndx
must be greater than or
equal to zero and less than
the value of
bool
GL_MAX_TEXTURE_COORDS
PointSpriteRMode
int
Zero, R, S
NV_point_sprite
PolygonMode
int2
Front, Back,
FrontAndBack,
Point, Line, Fill
1.0
PolygonOffset
float2
1.1
ProjectionMatrix
float4x4
1.0
Scissor
int4
1.0
ShadeModel
int
Flat, Smooth
1.0
StencilFunc
int3
Never, Less,
LEqual, Equal,
Greater, NotEqual,
GEqual, Always
1.0
StencilMask
int
StencilOp
int3
Keep, Zero,
Replace, Incr,
Decr, Invert,
IncrWrap, DecrWrap
1.0
StencilFuncSeparate
int4
Front, Back,
FrontAndBack,
Never, Less,
LEqual, Equal,
Greater, NotEqual,
GEqual, Always
2.0 or
EXT_stencil_two_side
808-00504-0000-006
1.0
NVIDIA
135