![]() |
LLGL 0.05 Beta
|
Rasterizer state descriptor structure. More...
#include <PipelineStateFlags.h>
Public Attributes | |
| PolygonMode | polygonMode = PolygonMode::Fill |
| Polygon render mode. By default PolygonMode::Fill. | |
| CullMode | cullMode = CullMode::Disabled |
| Polygon face culling mode. By default CullMode::Disabled. | |
| DepthBiasDescriptor | depthBias |
| Specifies the parameters to bias fragment depth values. | |
| float | lineWidth = 1.0f |
| Specifies the width of all generated line primitives. By default 1.0. | |
| bool | frontCCW = false |
| If enabled, front facing polygons are in counter-clock-wise winding, otherwise in clock-wise winding. By default disabled. | |
| bool | discardEnabled = false |
| If enabled, primitives are discarded after optional stream-outputs but before the rasterization stage. By default disabled. | |
| bool | depthClampEnabled = false |
| If enabled, there is effectively no near and far clipping plane. By default disabled. | |
| bool | scissorTestEnabled = false |
| Specifies whether scissor test is enabled or disabled. By default disabled. | |
| bool | multiSampleEnabled = false |
| Specifies whether multi-sampling is enabled or disabled. By default disabled. | |
| bool | antiAliasedLineEnabled = false |
| Specifies whether lines are rendered with or without anti-aliasing. By default disabled. | |
| bool | conservativeRasterization = false |
| If true, conservative rasterization is enabled. By default disabled. | |
| bool | shadingRateEnabled = false |
| If true, variable rate shading (VRS) is enabled for the rasterizer. By default disabled. | |
Rasterizer state descriptor structure.
| bool LLGL::RasterizerDescriptor::antiAliasedLineEnabled = false |
Specifies whether lines are rendered with or without anti-aliasing. By default disabled.
| bool LLGL::RasterizerDescriptor::conservativeRasterization = false |
If true, conservative rasterization is enabled. By default disabled.
| CullMode LLGL::RasterizerDescriptor::cullMode = CullMode::Disabled |
Polygon face culling mode. By default CullMode::Disabled.
| DepthBiasDescriptor LLGL::RasterizerDescriptor::depthBias |
Specifies the parameters to bias fragment depth values.
| bool LLGL::RasterizerDescriptor::depthClampEnabled = false |
If enabled, there is effectively no near and far clipping plane. By default disabled.
| bool LLGL::RasterizerDescriptor::discardEnabled = false |
| bool LLGL::RasterizerDescriptor::frontCCW = false |
If enabled, front facing polygons are in counter-clock-wise winding, otherwise in clock-wise winding. By default disabled.
| float LLGL::RasterizerDescriptor::lineWidth = 1.0f |
Specifies the width of all generated line primitives. By default 1.0.
lineWidthRange member in the RenderingCapabilities structure. If this line width is out of range, it will be clamped silently during graphics pipeline creation. | bool LLGL::RasterizerDescriptor::multiSampleEnabled = false |
Specifies whether multi-sampling is enabled or disabled. By default disabled.
| PolygonMode LLGL::RasterizerDescriptor::polygonMode = PolygonMode::Fill |
Polygon render mode. By default PolygonMode::Fill.
| bool LLGL::RasterizerDescriptor::scissorTestEnabled = false |
Specifies whether scissor test is enabled or disabled. By default disabled.
| bool LLGL::RasterizerDescriptor::shadingRateEnabled = false |
If true, variable rate shading (VRS) is enabled for the rasterizer. By default disabled.