Struct mallumo::Shape [] [src]

pub struct Shape {
    pub indices: (usize, usize),
    pub vertices: (usize, usize),
    pub albedo: Option<usize>,
    pub metallic_roughness: Option<usize>,
    pub occlusion: Option<usize>,
    pub normal: Option<usize>,
    pub emissive: Option<usize>,
}

Describes one single shape.

Textures are indices into some collection storing the textures.

Fields

Trait Implementations

impl Copy for Shape
[src]

impl Clone for Shape
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Shape
[src]

[src]

Formats the value using the given formatter.