Struct wgpu_core::command::render::VertexState
source · struct VertexState {
inputs: ArrayVec<VertexBufferState, { hal::MAX_VERTEX_BUFFERS }>,
vertex_limit: u64,
vertex_limit_slot: u32,
instance_limit: u64,
instance_limit_slot: u32,
}
Fields§
§inputs: ArrayVec<VertexBufferState, { hal::MAX_VERTEX_BUFFERS }>
§vertex_limit: u64
Length of the shortest vertex rate vertex buffer
vertex_limit_slot: u32
Buffer slot which the shortest vertex rate vertex buffer is bound to
instance_limit: u64
Length of the shortest instance rate vertex buffer
instance_limit_slot: u32
Buffer slot which the shortest instance rate vertex buffer is bound to
Implementations§
source§impl VertexState
impl VertexState
fn update_limits(&mut self)
fn reset(&mut self)
Trait Implementations§
source§impl Debug for VertexState
impl Debug for VertexState
source§impl Default for VertexState
impl Default for VertexState
source§fn default() -> VertexState
fn default() -> VertexState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VertexState
impl RefUnwindSafe for VertexState
impl Send for VertexState
impl Sync for VertexState
impl Unpin for VertexState
impl UnwindSafe for VertexState
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