Struct glium::draw_parameters::Stencil
[−]
[src]
pub struct Stencil { pub test_clockwise: StencilTest, pub reference_value_clockwise: i32, pub write_mask_clockwise: u32, pub fail_operation_clockwise: StencilOperation, pub pass_depth_fail_operation_clockwise: StencilOperation, pub depth_pass_operation_clockwise: StencilOperation, pub test_counter_clockwise: StencilTest, pub reference_value_counter_clockwise: i32, pub write_mask_counter_clockwise: u32, pub fail_operation_counter_clockwise: StencilOperation, pub pass_depth_fail_operation_counter_clockwise: StencilOperation, pub depth_pass_operation_counter_clockwise: StencilOperation, }
Fields
test_clockwise | A comparison against the existing value in the stencil buffer. Only relevant for faces that are clockwise on the target surface. Other faces, points and
lines use The default value is |
reference_value_clockwise | Reference value that is used by |
write_mask_clockwise | Allows specifying a mask when writing data on the stencil buffer. Only relevant for faces that are clockwise on the target surface. Other faces, points and
lines use The default value is |
fail_operation_clockwise | Specifies the operation to do when a fragment fails the stencil test. The stencil test is the test specified by Only relevant for faces that are clockwise on the target surface. Other faces, points and
lines use The default value is |
pass_depth_fail_operation_clockwise | Specifies the operation to do when a fragment passes the stencil test but fails the depth test. The stencil test is the test specified by Only relevant for faces that are clockwise on the target surface. Other faces, points and
lines use The default value is |
depth_pass_operation_clockwise | Specifies the operation to do when a fragment passes both the stencil and depth tests. The stencil test is the test specified by Only relevant for faces that are clockwise on the target surface. Other faces, points and
lines use The default value is |
test_counter_clockwise | A comparaison against the existing value in the stencil buffer. Only relevant for points, lines and faces that are counter-clockwise on the target surface.
Other faces use The default value is |
reference_value_counter_clockwise | Reference value that is used by |
write_mask_counter_clockwise | Allows specifying a mask when writing data on the stencil buffer. Only relevant for points, lines and faces that are counter-clockwise on the target surface.
Other faces use The default value is |
fail_operation_counter_clockwise | Specifies the operation to do when a fragment fails the stencil test. The stencil test is the test specified by Only relevant for faces that are counter-clockwise on the target surface. Other faces
use The default value is |
pass_depth_fail_operation_counter_clockwise | Specifies the operation to do when a fragment passes the stencil test but fails the depth test. The stencil test is the test specified by Only relevant for faces that are counter-clockwise on the target surface. Other faces
use The default value is |
depth_pass_operation_counter_clockwise | Specifies the operation to do when a fragment passes both the stencil and depth tests. The stencil test is the test specified by Only relevant for faces that are counter-clockwise on the target surface. Other faces
use The default value is |