#[repr(C)]pub struct SDL_GPUStencilOpState {
pub fail_op: SDL_GPUStencilOp,
pub pass_op: SDL_GPUStencilOp,
pub depth_fail_op: SDL_GPUStencilOp,
pub compare_op: SDL_GPUCompareOp,
}Expand description
A structure specifying the stencil operation state of a graphics pipeline.
Available Since: This struct is available since SDL 3.2.0.
See Also: SDL_GPUDepthStencilState
Fields§
§fail_op: SDL_GPUStencilOp< The action performed on samples that fail the stencil test.
pass_op: SDL_GPUStencilOp< The action performed on samples that pass the depth and stencil tests.
depth_fail_op: SDL_GPUStencilOp< The action performed on samples that pass the stencil test and fail the depth test.
compare_op: SDL_GPUCompareOp< The comparison operator used in the stencil test.
Trait Implementations§
Source§impl Clone for SDL_GPUStencilOpState
impl Clone for SDL_GPUStencilOpState
Source§fn clone(&self) -> SDL_GPUStencilOpState
fn clone(&self) -> SDL_GPUStencilOpState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SDL_GPUStencilOpState
impl Debug for SDL_GPUStencilOpState
Source§impl Default for SDL_GPUStencilOpState
impl Default for SDL_GPUStencilOpState
Source§impl Hash for SDL_GPUStencilOpState
impl Hash for SDL_GPUStencilOpState
impl Copy for SDL_GPUStencilOpState
Auto Trait Implementations§
impl Freeze for SDL_GPUStencilOpState
impl RefUnwindSafe for SDL_GPUStencilOpState
impl Send for SDL_GPUStencilOpState
impl Sync for SDL_GPUStencilOpState
impl Unpin for SDL_GPUStencilOpState
impl UnsafeUnpin for SDL_GPUStencilOpState
impl UnwindSafe for SDL_GPUStencilOpState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more