#[repr(transparent)]pub struct SDL_GPUFrontFace(pub c_uint);Expand description
Specifies the vertex winding that will cause a triangle to be determined to be front-facing.
Available Since: This enum is available since SDL 3.2.0.
See Also: SDL_CreateGPUGraphicsPipeline
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_GPUFrontFace
impl SDL_GPUFrontFace
Sourcepub const SDL_GPU_FRONTFACE_COUNTER_CLOCKWISE: SDL_GPUFrontFace
pub const SDL_GPU_FRONTFACE_COUNTER_CLOCKWISE: SDL_GPUFrontFace
< A triangle with counter-clockwise vertex winding will be considered front-facing.
Sourcepub const SDL_GPU_FRONTFACE_CLOCKWISE: SDL_GPUFrontFace
pub const SDL_GPU_FRONTFACE_CLOCKWISE: SDL_GPUFrontFace
< A triangle with clockwise vertex winding will be considered front-facing.
Trait Implementations§
Source§impl Clone for SDL_GPUFrontFace
impl Clone for SDL_GPUFrontFace
Source§fn clone(&self) -> SDL_GPUFrontFace
fn clone(&self) -> SDL_GPUFrontFace
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_GPUFrontFace
impl Debug for SDL_GPUFrontFace
Source§impl Hash for SDL_GPUFrontFace
impl Hash for SDL_GPUFrontFace
Source§impl PartialEq for SDL_GPUFrontFace
impl PartialEq for SDL_GPUFrontFace
impl Copy for SDL_GPUFrontFace
impl Eq for SDL_GPUFrontFace
impl StructuralPartialEq for SDL_GPUFrontFace
Auto Trait Implementations§
impl Freeze for SDL_GPUFrontFace
impl RefUnwindSafe for SDL_GPUFrontFace
impl Send for SDL_GPUFrontFace
impl Sync for SDL_GPUFrontFace
impl Unpin for SDL_GPUFrontFace
impl UnsafeUnpin for SDL_GPUFrontFace
impl UnwindSafe for SDL_GPUFrontFace
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