Antkeeper
0.0.1
|
Pipeline rasterization state. More...
#include <pipeline-rasterization-state.hpp>
Public Attributes | |
bool | rasterizer_discard_enabled {false} |
true if rasterizer discard should be enabled, false otherwise. More... | |
gl::fill_mode | fill_mode {gl::fill_mode::fill} |
Polygon rasterization mode. More... | |
gl::cull_mode | cull_mode {gl::cull_mode::back} |
Triangle culling mode. More... | |
gl::front_face | front_face {gl::front_face::counter_clockwise} |
Polygon front-facing orientation. More... | |
bool | depth_bias_enabled {false} |
true if depth bias should be enabled, false otherwise. More... | |
float | depth_bias_constant_factor {0.0f} |
Depth bias constant factor. More... | |
float | depth_bias_slope_factor {0.0f} |
Depth bias slope factor. More... | |
bool | depth_clamp_enabled {false} |
true if depth clamp should be enabled, false otherwise. More... | |
bool | scissor_test_enabled {false} |
true if scissor testing should be enabled, false otherwise. More... | |
gl::provoking_vertex_mode | provoking_vertex_mode {gl::provoking_vertex_mode::last} |
Vertex to be used as the source of data for flat-shaded varyings. More... | |
float | point_size {1.0f} |
Diameter of rasterized points. More... | |
float | line_width {1.0f} |
Width of rasterized line segments. More... | |
Pipeline rasterization state.
Definition at line 32 of file pipeline-rasterization-state.hpp.
gl::cull_mode gl::pipeline_rasterization_state::cull_mode {gl::cull_mode::back} |
Triangle culling mode.
Definition at line 41 of file pipeline-rasterization-state.hpp.
float gl::pipeline_rasterization_state::depth_bias_constant_factor {0.0f} |
Depth bias constant factor.
Definition at line 50 of file pipeline-rasterization-state.hpp.
bool gl::pipeline_rasterization_state::depth_bias_enabled {false} |
true
if depth bias should be enabled, false
otherwise.
Definition at line 47 of file pipeline-rasterization-state.hpp.
float gl::pipeline_rasterization_state::depth_bias_slope_factor {0.0f} |
Depth bias slope factor.
Definition at line 53 of file pipeline-rasterization-state.hpp.
bool gl::pipeline_rasterization_state::depth_clamp_enabled {false} |
true
if depth clamp should be enabled, false
otherwise.
Definition at line 56 of file pipeline-rasterization-state.hpp.
gl::fill_mode gl::pipeline_rasterization_state::fill_mode {gl::fill_mode::fill} |
Polygon rasterization mode.
Definition at line 38 of file pipeline-rasterization-state.hpp.
gl::front_face gl::pipeline_rasterization_state::front_face {gl::front_face::counter_clockwise} |
Polygon front-facing orientation.
Definition at line 44 of file pipeline-rasterization-state.hpp.
float gl::pipeline_rasterization_state::line_width {1.0f} |
Width of rasterized line segments.
Definition at line 68 of file pipeline-rasterization-state.hpp.
float gl::pipeline_rasterization_state::point_size {1.0f} |
Diameter of rasterized points.
Definition at line 65 of file pipeline-rasterization-state.hpp.
gl::provoking_vertex_mode gl::pipeline_rasterization_state::provoking_vertex_mode {gl::provoking_vertex_mode::last} |
Vertex to be used as the source of data for flat-shaded varyings.
Definition at line 62 of file pipeline-rasterization-state.hpp.
bool gl::pipeline_rasterization_state::rasterizer_discard_enabled {false} |
true
if rasterizer discard should be enabled, false
otherwise.
Definition at line 35 of file pipeline-rasterization-state.hpp.
bool gl::pipeline_rasterization_state::scissor_test_enabled {false} |
true
if scissor testing should be enabled, false
otherwise.
Definition at line 59 of file pipeline-rasterization-state.hpp.