[][src]Module easy_gltf::model

Contains model and material

Usage

Check Model for more information about how to use this module.

Structs

BadMode

Represents a runtime error. This error is triggered when an expected mode doesn't match the model mode .

Material

Contains material properties of models.

Model

Geometry to be rendered with the given material.

Vertex

Contains a position, normal and texture coordinates vectors.

Enums

Mode

The type of primitives to render.

Type Definitions

Line

Represents the 2 vertices of a line.

Triangle

Represents the 3 vertices of a triangle.