Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Attributes | List of all members
RasterizationState Struct Reference

#include <rendering_device.h>

Public Attributes

CullMode cull_mode = CullMode::BACK
 
bool front_face_ccw = true
 
PolygonMode polygon_mode = PolygonMode::FILL
 
float line_width = 1.0f
 
bool depth_clamp_enable = false
 
bool depth_bias_enable = false
 
float depth_bias_constant = 0.0f
 
float depth_bias_slope = 0.0f
 

Member Data Documentation

◆ cull_mode

CullMode RasterizationState::cull_mode = CullMode::BACK

◆ depth_bias_constant

float RasterizationState::depth_bias_constant = 0.0f

◆ depth_bias_enable

bool RasterizationState::depth_bias_enable = false

◆ depth_bias_slope

float RasterizationState::depth_bias_slope = 0.0f

◆ depth_clamp_enable

bool RasterizationState::depth_clamp_enable = false

◆ front_face_ccw

bool RasterizationState::front_face_ccw = true

◆ line_width

float RasterizationState::line_width = 1.0f

◆ polygon_mode

PolygonMode RasterizationState::polygon_mode = PolygonMode::FILL

The documentation for this struct was generated from the following file: