[][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 .

Emissive

The emissive color of the material.

Material

Contains material properties of models.

Model

Geometry to be rendered with the given material.

NormalMap

Defines the normal texture of a material.

Occlusion

Defines the occlusion texture of a material.

PbrMaterial

A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology.

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.