Struct easygpu_lyon::Shape
source · [−]pub struct Shape {
pub index_count: u32,
pub vertices: Arc<VertexBuffer>,
pub indices: Arc<IndexBuffer>,
}
Expand description
Shape is a loaded, prepared ShapeBuilder that is ready to be drawn
Fields
index_count: u32
Number of indices contained in indices
vertices: Arc<VertexBuffer>
The vertices stored in a vertex buffer
indices: Arc<IndexBuffer>
An index buffer representing a TriangleList of indices within vertices
Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl !UnwindSafe for Shape
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more