[−][src]Struct gfx_hal::buffer::IndexBufferView
Index buffer view for bind_index_buffer
.
Defines a buffer slice used for acquiring the indices on draw commands. Indices are used to lookup vertex indices in the vertex buffers.
Fields
buffer: &'a B::Buffer
The buffer to bind.
offset: u64
The offset into the buffer to start at.
index_type: IndexType
The type of the table elements (u16
or u32
).
Trait Implementations
Auto Trait Implementations
impl<'a, B> Unpin for IndexBufferView<'a, B>
impl<'a, B> Sync for IndexBufferView<'a, B> where
<B as Backend>::Buffer: Sync,
<B as Backend>::Buffer: Sync,
impl<'a, B> Send for IndexBufferView<'a, B> where
<B as Backend>::Buffer: Sync,
<B as Backend>::Buffer: Sync,
impl<'a, B> UnwindSafe for IndexBufferView<'a, B> where
<B as Backend>::Buffer: RefUnwindSafe,
<B as Backend>::Buffer: RefUnwindSafe,
impl<'a, B> RefUnwindSafe for IndexBufferView<'a, B> where
<B as Backend>::Buffer: RefUnwindSafe,
<B as Backend>::Buffer: RefUnwindSafe,
Blanket Implementations
impl<T> Supports<T> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,