Class RasterizerStateInfo
Defined in File rasterizer-state-info.h
Inheritance Relationships
Base Type
public gpa::playback::ResourceInfo
(Class ResourceInfo)
Class Documentation
-
class RasterizerStateInfo : public gpa::playback::ResourceInfo
Graphics API agnostic information for rasterizer state.
Public Functions
-
virtual TypeId GetTypeId() const final override
Gets this RasterizerStateInfo object's TypeId.
- Returns
This RasterizerStateInfo object's TypeId
Public Members
-
api_types::FillMode fillMode = {api_types::GPA_FILL_UNKNOWN}
Determines the fill mode to use when rendering.
-
api_types::CullMode cullMode = {api_types::GPA_CULL_UNKNOWN}
Indicates triangles facing the specified direction are not drawn.
-
bool frontCounterClockwise = {false}
Determines if a triangle is front- or back-facing. If this parameter is TRUE, a triangle will be considered front-facing if its vertices are counter-clockwise on the render target and considered back-facing if they are clockwise. If this parameter is FALSE, the opposite is true.
Determines if a triangle is front- or back-facing
-
int32_t depthBias = {0}
Depth value added to a given pixel.
-
float depthBiasClamp = {0}
Maximum depth bias of a pixel.
-
float slopeScaledDepthBias = {0}
Scalar on a given pixel's slope.
-
bool depthClipEnable = {false}
Enable clipping based on distance.
-
bool scissorEnable = {false}
Scissor-rectangle culling is enabled.
-
bool multisampleEnable = {false}
Multisampling is enabled.
-
bool antialiasedLineEnable = {false}
Antialiasing is enabled when drawing lines.
-
virtual TypeId GetTypeId() const final override