Type Definition dae_parser::Lines
source · [−]Expand description
Provides the information needed for a mesh to bind vertex attributes together and then organize those vertices into individual lines.
Implementations
sourceimpl Lines
impl Lines
sourcepub fn new(
material: Option<String>,
inputs: Vec<InputS>,
count: usize,
prim: Box<[u32]>
) -> Self
pub fn new(
material: Option<String>,
inputs: Vec<InputS>,
count: usize,
prim: Box<[u32]>
) -> Self
Construct a new Lines
object from a data buffer.
The data buffer prim
contains exactly count
lines, consisting of 2 vertices,
each consisting of inputs.len()
indices,
for a total of inputs.len() * 2 * count
values.