Luna::RHI::RasterizerDesc
Describes rasterizer configurations for one graphics pipeline.
struct Luna::RHI::RasterizerDesc
Member objects
-
The constant depth bias value added to the depth value generated by the vertex shader in depth bias step.
-
The slope-scaled depth bias value added to the depth value generated by the vertex shader in depth bias step.
-
The bias value range ([
-depth_bias_clamp
,depth_bias_clamp
]) allowed to be added to the depth value generated by the vertex shader in depth bias step. -
The fill mode of the rasterizer.
-
The cull mode of the rasterizer.
-
If this is
true
, triangles will be regarded as front-facing if its three vertices are wound counter-clockwisly from view of camera. -
Whether to discard fragments outside of the allowed depth range (0~1). If this is
false
, outside fragments will have their depth values clamped to [0
,1
].