Antkeeper  0.0.1
Public Attributes | List of all members
gl::pipeline_rasterization_state Struct Reference

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...
 

Detailed Description

Pipeline rasterization state.

Definition at line 32 of file pipeline-rasterization-state.hpp.

Member Data Documentation

◆ cull_mode

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.

◆ depth_bias_constant_factor

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.

◆ depth_bias_enabled

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.

◆ depth_bias_slope_factor

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.

◆ depth_clamp_enabled

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.

◆ fill_mode

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.

◆ front_face

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.

◆ line_width

float gl::pipeline_rasterization_state::line_width {1.0f}

Width of rasterized line segments.

Definition at line 68 of file pipeline-rasterization-state.hpp.

◆ point_size

float gl::pipeline_rasterization_state::point_size {1.0f}

Diameter of rasterized points.

Definition at line 65 of file pipeline-rasterization-state.hpp.

◆ provoking_vertex_mode

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.

◆ rasterizer_discard_enabled

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.

◆ scissor_test_enabled

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.


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