29 #include "BasicTypes.h" 140 Bool _FrontCounterClockwise = False,
141 Int32 _DepthBias = 0,
142 Float32 _DepthBiasClamp = 0.f,
143 Float32 _SlopeScaledDepthBias = 0.f,
144 Bool _DepthClipEnable = True,
145 Bool _ScissorEnable = False,
146 Bool _AntialiasedLineEnable = False) :
Rasterize triangles using wireframe fill. Direct3D counterpart: D3D11_FILL_WIREFRAME/D3D12_FILL_MOD...
Definition: RasterizerState.h:47
bool operator==(const RasterizerStateDesc &RHS) const
Tests if two structures are equivalent.
Definition: RasterizerState.h:166
Int32 DepthBias
Constant value added to the depth of a given pixel.
Definition: RasterizerState.h:105
Helper value that stores the total number of fill modes in the enumeration.
Definition: RasterizerState.h:54
Undefined fill mode.
Definition: RasterizerState.h:43
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
FILL_MODE FillMode
Determines traingle fill mode, see Diligent::FILL_MODE for details.
Definition: RasterizerState.h:93
Bool DepthClipEnable
Enable clipping based on distance.
Definition: RasterizerState.h:117
Bool FrontCounterClockwise
Determines if a triangle is front- or back-facing. If this parameter is True, a triangle will be cons...
Definition: RasterizerState.h:102
Rasterize triangles using solid fill. Direct3D counterpart: D3D11_FILL_SOLID/D3D12_FILL_MODE_SOLID...
Definition: RasterizerState.h:51
Bool ScissorEnable
Enable scissor-rectangle culling. All pixels outside an active scissor rectangle are culled...
Definition: RasterizerState.h:120
Undefined cull mode.
Definition: RasterizerState.h:66
CULL_MODE CullMode
Determines traingle cull mode, see Diligent::CULL_MODE for details.
Definition: RasterizerState.h:96
Float32 SlopeScaledDepthBias
Scalar that scales the given pixel's slope before adding to the pixel's depth.
Definition: RasterizerState.h:112
Rasterizer state description.
Definition: RasterizerState.h:90
RasterizerStateDesc(FILL_MODE _FillMode=FILL_MODE_SOLID, CULL_MODE _CullMode=CULL_MODE_BACK, Bool _FrontCounterClockwise=False, Int32 _DepthBias=0, Float32 _DepthBiasClamp=0.f, Float32 _SlopeScaledDepthBias=0.f, Bool _DepthClipEnable=True, Bool _ScissorEnable=False, Bool _AntialiasedLineEnable=False)
Initializes the structure members.
Definition: RasterizerState.h:138
Draw all triangles. Direct3D counterpart: D3D11_CULL_NONE/D3D12_CULL_MODE_NONE. OpenGL counterpart:...
Definition: RasterizerState.h:70
FILL_MODE
Fill mode.
Definition: RasterizerState.h:40
Helper value that stores the total number of cull modes in the enumeration.
Definition: RasterizerState.h:83
Do not draw triangles that are front-facing. Front- and back-facing triangles are determined by the R...
Definition: RasterizerState.h:75
Float32 DepthBiasClamp
Maximum depth bias of a pixel.
Definition: RasterizerState.h:109
Do not draw triangles that are back-facing. Front- and back-facing triangles are determined by the Ra...
Definition: RasterizerState.h:80
CULL_MODE
Cull mode.
Definition: RasterizerState.h:63
Bool AntialiasedLineEnable
Specifies whether to enable line antialiasing.
Definition: RasterizerState.h:123