|
CeresEngine 0.2.0
A game development framework
|
Rasterizer state descriptor structure. More...
#include <CeresEngine/RenderAPI/GPUGraphicsPipeline.hpp>
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| GPUPolygonMode | polygonMode = GPUPolygonMode::Fill |
| Polygon render mode. By default PolygonMode::Fill. | |
| GPUCullMode | cullMode = GPUCullMode::Disabled |
| Polygon face culling mode. By default CullMode::Disabled. | |
| GPUDepthBiasDescriptor | depthBias |
| Specifies the parameters to bias fragment depth values. | |
| GPUMultiSamplingDescriptor | multiSampling |
| (Multi-)sampling descriptor. | |
| GPUConservativeRasterizationDescriptor | conservativeRasterization |
| Conservative rasterization descriptor. | |
| bool | frontCCW = false |
| If enabled, front facing polygons are in counter-clock-wise winding, otherwise in clock-wise winding. | |
| bool | depthClampEnabled = false |
| If enabled, there is effectively no near and far clipping plane. | |
| bool | scissorTestEnabled = false |
| Specifies whether scissor test is enabled or disabled. | |
| bool | antiAliasedLineEnabled = false |
| Specifies whether lines are rendered with or without anti-aliasing. | |
| float | lineWidth = 1.0f |
| Specifies the width of all generated line primitives. | |
Rasterizer state descriptor structure.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
Specifies whether lines are rendered with or without anti-aliasing.
By default disabled.
| GPUConservativeRasterizationDescriptor CeresEngine::GPURasterizerDescriptor::conservativeRasterization |
Conservative rasterization descriptor.
| GPUCullMode CeresEngine::GPURasterizerDescriptor::cullMode = GPUCullMode::Disabled |
Polygon face culling mode. By default CullMode::Disabled.
| GPUDepthBiasDescriptor CeresEngine::GPURasterizerDescriptor::depthBias |
Specifies the parameters to bias fragment depth values.
If enabled, there is effectively no near and far clipping plane.
By default disabled.
If enabled, front facing polygons are in counter-clock-wise winding, otherwise in clock-wise winding.
| float CeresEngine::GPURasterizerDescriptor::lineWidth = 1.0f |
Specifies the width of all generated line primitives.
By default 1.0. If this line width is out of range, it will be clamped silently during graphics pipeline creation.
| GPUMultiSamplingDescriptor CeresEngine::GPURasterizerDescriptor::multiSampling |
(Multi-)sampling descriptor.
| GPUPolygonMode CeresEngine::GPURasterizerDescriptor::polygonMode = GPUPolygonMode::Fill |
Polygon render mode. By default PolygonMode::Fill.
Specifies whether scissor test is enabled or disabled.
By default disabled.