pub struct IndexBuffer {
pub buffer: Vec<u32>,
}
Expand description
Index buffer. (See GpuDriver::create_geometry
).
Fields§
§buffer: Vec<u32>
Trait Implementations§
Source§impl From<ULIndexBuffer> for IndexBuffer
impl From<ULIndexBuffer> for IndexBuffer
Source§fn from(vb: ULIndexBuffer) -> Self
fn from(vb: ULIndexBuffer) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IndexBuffer
impl RefUnwindSafe for IndexBuffer
impl Send for IndexBuffer
impl Sync for IndexBuffer
impl Unpin for IndexBuffer
impl UnwindSafe for IndexBuffer
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