Antkeeper
0.0.1
|
Pipeline depth/stencil state. More...
#include <pipeline-depth-stencil-state.hpp>
Public Attributes | |
bool | depth_test_enabled {true} |
true if depth testing is enabled, false otherwise. More... | |
bool | depth_write_enabled {true} |
true if depth writes are enabled when depth testing is enabled, false otherwise. More... | |
compare_op | depth_compare_op {compare_op::less} |
Comparison operator to use in the depth comparison step of the depth test. More... | |
bool | stencil_test_enabled {false} |
true if stencil testing is enabled, false otherwise. More... | |
stencil_op_state | stencil_front |
Stencil testing parameters for front faces. More... | |
stencil_op_state | stencil_back |
Stencil testing parameters for back faces. More... | |
Pipeline depth/stencil state.
Definition at line 30 of file pipeline-depth-stencil-state.hpp.
compare_op gl::pipeline_depth_stencil_state::depth_compare_op {compare_op::less} |
Comparison operator to use in the depth comparison step of the depth test.
Definition at line 43 of file pipeline-depth-stencil-state.hpp.
bool gl::pipeline_depth_stencil_state::depth_test_enabled {true} |
true
if depth testing is enabled, false
otherwise.
Definition at line 33 of file pipeline-depth-stencil-state.hpp.
bool gl::pipeline_depth_stencil_state::depth_write_enabled {true} |
true
if depth writes are enabled when depth testing is enabled, false
otherwise.
Definition at line 40 of file pipeline-depth-stencil-state.hpp.
stencil_op_state gl::pipeline_depth_stencil_state::stencil_back |
Stencil testing parameters for back faces.
Definition at line 52 of file pipeline-depth-stencil-state.hpp.
stencil_op_state gl::pipeline_depth_stencil_state::stencil_front |
Stencil testing parameters for front faces.
Definition at line 49 of file pipeline-depth-stencil-state.hpp.
bool gl::pipeline_depth_stencil_state::stencil_test_enabled {false} |
true
if stencil testing is enabled, false
otherwise.
Definition at line 46 of file pipeline-depth-stencil-state.hpp.