Enum ncollide_procedural::IndexBuffer
[−]
[src]
pub enum IndexBuffer { Unified(Vec<Pnt3<u32>>), Split(Vec<Pnt3<Pnt3<u32>>>), }
Different representations of the index buffer.
Variants
Unified(Vec<Pnt3<u32>>)
The vertex, normal, and uvs share the same indices.
Split(Vec<Pnt3<Pnt3<u32>>>)
The vertex, normal, and uvs have different indices.
Methods
impl IndexBuffer
[src]
fn unwrap_unified(self) -> Vec<Pnt3<u32>>
Returns the unified index buffer data or fails.
fn unwrap_split(self) -> Vec<Pnt3<Pnt3<u32>>>
Returns the split index buffer data or fails.
Trait Implementations
impl Debug for IndexBuffer
[src]
impl Clone for IndexBuffer
[src]
fn clone(&self) -> IndexBuffer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more