#[repr(transparent)]pub struct SDL_GPUVertexInputRate(pub c_uint);Expand description
Specifies the rate at which vertex attributes are pulled from buffers.
Available Since: This enum is available since SDL 3.2.0.
See Also: SDL_CreateGPUGraphicsPipeline
Tuple Fields§
§0: c_uintImplementations§
Source§impl SDL_GPUVertexInputRate
impl SDL_GPUVertexInputRate
Sourcepub const SDL_GPU_VERTEXINPUTRATE_VERTEX: SDL_GPUVertexInputRate
pub const SDL_GPU_VERTEXINPUTRATE_VERTEX: SDL_GPUVertexInputRate
< Attribute addressing is a function of the vertex index.
Sourcepub const SDL_GPU_VERTEXINPUTRATE_INSTANCE: SDL_GPUVertexInputRate
pub const SDL_GPU_VERTEXINPUTRATE_INSTANCE: SDL_GPUVertexInputRate
< Attribute addressing is a function of the instance index.
Trait Implementations§
Source§impl Clone for SDL_GPUVertexInputRate
impl Clone for SDL_GPUVertexInputRate
Source§fn clone(&self) -> SDL_GPUVertexInputRate
fn clone(&self) -> SDL_GPUVertexInputRate
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_GPUVertexInputRate
impl Debug for SDL_GPUVertexInputRate
Source§impl Hash for SDL_GPUVertexInputRate
impl Hash for SDL_GPUVertexInputRate
Source§impl PartialEq for SDL_GPUVertexInputRate
impl PartialEq for SDL_GPUVertexInputRate
impl Copy for SDL_GPUVertexInputRate
impl Eq for SDL_GPUVertexInputRate
impl StructuralPartialEq for SDL_GPUVertexInputRate
Auto Trait Implementations§
impl Freeze for SDL_GPUVertexInputRate
impl RefUnwindSafe for SDL_GPUVertexInputRate
impl Send for SDL_GPUVertexInputRate
impl Sync for SDL_GPUVertexInputRate
impl Unpin for SDL_GPUVertexInputRate
impl UnsafeUnpin for SDL_GPUVertexInputRate
impl UnwindSafe for SDL_GPUVertexInputRate
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