Struct wgpu_core::command::render::IndexState
source · struct IndexState {
bound_buffer_view: Option<(Valid<BufferId>, Range<BufferAddress>)>,
format: Option<IndexFormat>,
pipeline_format: Option<IndexFormat>,
limit: u32,
}
Fields§
§bound_buffer_view: Option<(Valid<BufferId>, Range<BufferAddress>)>
§format: Option<IndexFormat>
§pipeline_format: Option<IndexFormat>
§limit: u32
Implementations§
source§impl IndexState
impl IndexState
fn update_limit(&mut self)
fn reset(&mut self)
Trait Implementations§
source§impl Debug for IndexState
impl Debug for IndexState
source§impl Default for IndexState
impl Default for IndexState
source§fn default() -> IndexState
fn default() -> IndexState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for IndexState
impl Send for IndexState
impl Sync for IndexState
impl Unpin for IndexState
impl !UnwindSafe for IndexState
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