#[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
Fields§
§fail_op: SDL_GPUStencilOpThe action performed on samples that fail the stencil test.
pass_op: SDL_GPUStencilOpThe action performed on samples that pass the depth and stencil tests.
depth_fail_op: SDL_GPUStencilOpThe action performed on samples that pass the stencil test and fail the depth test.
compare_op: SDL_GPUCompareOpThe 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§fn default() -> SDL_GPUStencilOpState
fn default() -> SDL_GPUStencilOpState
Returns the “default value” for a type. Read more
Source§impl Hash for SDL_GPUStencilOpState
impl Hash for SDL_GPUStencilOpState
Source§impl PartialEq for SDL_GPUStencilOpState
impl PartialEq for SDL_GPUStencilOpState
impl Copy for SDL_GPUStencilOpState
impl Eq for SDL_GPUStencilOpState
impl StructuralPartialEq 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 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