20 #ifndef ANTKEEPER_GL_PIPELINE_RASTERIZATION_STATE_HPP
21 #define ANTKEEPER_GL_PIPELINE_RASTERIZATION_STATE_HPP
Graphics library interface.
cull_mode
Triangle culling mode.
@ back
Back-facing triangles are discarded.
front_face
Polygon front-facing orientation.
@ counter_clockwise
Triangle with positive area is considered front-facing.
provoking_vertex_mode
Vertex to be used as the source of data for flat-shaded varyings.
@ last
Provoking vertex is the last non-adjacency vertex.
fill_mode
Polygon rasterization mode.
@ fill
Polygons are filled.
Pipeline rasterization state.
bool scissor_test_enabled
true if scissor testing should be enabled, false otherwise.
bool rasterizer_discard_enabled
true if rasterizer discard should be enabled, false otherwise.
float depth_bias_constant_factor
Depth bias constant factor.
float point_size
Diameter of rasterized points.
bool depth_clamp_enabled
true if depth clamp should be enabled, false otherwise.
bool depth_bias_enabled
true if depth bias should be enabled, false otherwise.
float line_width
Width of rasterized line segments.
float depth_bias_slope_factor
Depth bias slope factor.