mjrVertexAttributeUsage_ — usage/purpose of a vertex attribute. From MuJoCo's headers, as numbers. All 5 values carry a number in the header.
Summary
Functions
mjVERTEX_ATTRIBUTE_USAGE_COLOR is 4 — vertex color.
mjVERTEX_ATTRIBUTE_USAGE_NORMAL is 1 — vertex normal.
mjVERTEX_ATTRIBUTE_USAGE_POSITION is 0 — vertex position.
mjVERTEX_ATTRIBUTE_USAGE_TANGENTS is 2 — vertex tangents.
mjVERTEX_ATTRIBUTE_USAGE_UV is 3 — vertex texture coordinates.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.
Types
@type t() :: integer()
Functions
@spec attribute_usage_color() :: 4
mjVERTEX_ATTRIBUTE_USAGE_COLOR is 4 — vertex color.
@spec attribute_usage_normal() :: 1
mjVERTEX_ATTRIBUTE_USAGE_NORMAL is 1 — vertex normal.
@spec attribute_usage_position() :: 0
mjVERTEX_ATTRIBUTE_USAGE_POSITION is 0 — vertex position.
@spec attribute_usage_tangents() :: 2
mjVERTEX_ATTRIBUTE_USAGE_TANGENTS is 2 — vertex tangents.
@spec attribute_usage_uv() :: 3
mjVERTEX_ATTRIBUTE_USAGE_UV is 3 — vertex texture coordinates.
The name behind an integer. An atom is already one.
The integer behind a name. An integer is already one.
Every value, as {name, integer}, in the order the header lists them.