Struct easygpu_lyon::Shape [−][src]
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