CB_Graphics_Static
Description
Full source code is included in the Tinman 3D SDK download. |
A constant buffer for use with GraphicsParameters and LineParameters.
Public / Attributes
LineThickness
The constant data field g_lineThickness
.
Thick line rendering is active iff float3.z is greater than zero.
- See also
ScreenMask
The constant data field g_screenMask
.
The screen mask coefficients:
x := minimum screen X-coordinate of mask bounds y := minimum screen Y-coordinate of mask bounds z := screen width of mask bounds, in pixels w := screen height of mask bounds, in pixels
The screen mask is active iff float4.z is greater than zero.
- See also