#[repr(C)]pub struct SDL_GPUVertexInputState {
pub vertex_buffer_descriptions: *const SDL_GPUVertexBufferDescription,
pub num_vertex_buffers: Uint32,
pub vertex_attributes: *const SDL_GPUVertexAttribute,
pub num_vertex_attributes: Uint32,
}Expand description
Fields§
§vertex_buffer_descriptions: *const SDL_GPUVertexBufferDescriptionA pointer to an array of vertex buffer descriptions.
num_vertex_buffers: Uint32The number of vertex buffer descriptions in the above array.
vertex_attributes: *const SDL_GPUVertexAttributeA pointer to an array of vertex attribute descriptions.
num_vertex_attributes: Uint32The number of vertex attribute descriptions in the above array.
Trait Implementations§
Source§impl Clone for SDL_GPUVertexInputState
impl Clone for SDL_GPUVertexInputState
Source§fn clone(&self) -> SDL_GPUVertexInputState
fn clone(&self) -> SDL_GPUVertexInputState
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_GPUVertexInputState
impl Debug for SDL_GPUVertexInputState
Source§impl Default for SDL_GPUVertexInputState
impl Default for SDL_GPUVertexInputState
impl Copy for SDL_GPUVertexInputState
Auto Trait Implementations§
impl Freeze for SDL_GPUVertexInputState
impl RefUnwindSafe for SDL_GPUVertexInputState
impl !Send for SDL_GPUVertexInputState
impl !Sync for SDL_GPUVertexInputState
impl Unpin for SDL_GPUVertexInputState
impl UnwindSafe for SDL_GPUVertexInputState
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