Properties to configure the rasterization state.
More...
|
|
HgiPolygonMode | polygonMode |
| |
|
float | lineWidth |
| |
|
HgiCullMode | cullMode |
| |
|
HgiWinding | winding |
| |
|
bool | rasterizerEnabled |
| |
|
bool | depthClampEnabled |
| |
|
GfVec2f | depthRange |
| |
|
bool | conservativeRaster |
| |
|
size_t | numClipDistances |
| |
Properties to configure the rasterization state.
-
polygonMode: Determines the rasterization draw mode of primitve (triangles).
-
lineWidth: The width of lines when polygonMode is set to line drawing.
-
cullMode: Determines the culling rules for primitives (triangles).
-
winding: The rule that determines what makes a front-facing primitive.
-
rasterizationEnabled: When false all primitives are discarded before rasterization stage.
-
depthClampEnabled: When enabled clamps the clip space depth to the view volume, rather than clipping the depth to the near and far planes.
-
depthRange: The mapping of NDC depth values to window depth values.
-
conservativeRaster: When enabled, any pixel at least partially covered by a rendered primitive will be rasterized.
-
numClipDistances: The number of user-defined clip distances.
Definition at line 184 of file graphicsPipeline.h.
The documentation for this struct was generated from the following file: