docs: Grammar and refs in Rasterizer.
This commit is contained in:
@@ -7,7 +7,6 @@ The rasterizer state controls the rendering of points, lines and triangles.
|
|||||||
Attributes include polygon culling state, line width, line stipple,
|
Attributes include polygon culling state, line width, line stipple,
|
||||||
multisample state, scissoring and flat/smooth shading.
|
multisample state, scissoring and flat/smooth shading.
|
||||||
|
|
||||||
|
|
||||||
Members
|
Members
|
||||||
-------
|
-------
|
||||||
|
|
||||||
@@ -63,7 +62,7 @@ Other Members
|
|||||||
^^^^^^^^^^^^^
|
^^^^^^^^^^^^^
|
||||||
|
|
||||||
light_twoside
|
light_twoside
|
||||||
If set, there are per-vertex back-facing colors. The draw module
|
If set, there are per-vertex back-facing colors. :ref:`Draw`
|
||||||
uses this state along with the front/back information to set the
|
uses this state along with the front/back information to set the
|
||||||
final vertex colors prior to rasterization.
|
final vertex colors prior to rasterization.
|
||||||
|
|
||||||
@@ -134,7 +133,7 @@ sprite_coord_mode
|
|||||||
lower left vertex will have coordinate (0,0,0,1).
|
lower left vertex will have coordinate (0,0,0,1).
|
||||||
For PIPE_SPRITE_COORD_UPPER_LEFT, the upper-left vertex will have
|
For PIPE_SPRITE_COORD_UPPER_LEFT, the upper-left vertex will have
|
||||||
coordinate (0,0,0,1).
|
coordinate (0,0,0,1).
|
||||||
This state is needed by the 'draw' module because that's where each
|
This state is needed by :ref:`Draw` because that's where each
|
||||||
point vertex is converted into four quad vertices. There's no other
|
point vertex is converted into four quad vertices. There's no other
|
||||||
place to emit the new vertex texture coordinates which are required for
|
place to emit the new vertex texture coordinates which are required for
|
||||||
sprite rendering.
|
sprite rendering.
|
||||||
|
Reference in New Issue
Block a user