Module amethyst_renderer::vertex []

Built-in vertex formats.

Structs

PosColor

Vertex format with position and RGBA8 color attributes.

PosNormTangTex

Vertex format with position, normal, and UV texture coordinate attributes.

PosNormTex

Vertex format with position, normal, and UV texture coordinate attributes.

PosTex

Vertex format with position and UV texture coordinate attributes.

Enums

Color

Type for color attribute of vertex

Normal

Type for texture coord attribute of vertex

Position

Type for position attribute of vertex

Tangent

Type for tangent attribute of vertex

TextureCoord

Type for texture coord attribute of vertex

Traits

AttributeNames

Trait for mapping attribute type -> name

VertexFormat

Trait implemented by all valid vertex formats.

WithField

Trait implemented by all valid vertex formats for each field

Type Definitions

Attribute

Handle to a vertex attribute.