Expand description
Vertex attribute locations declared by the built-in shader.
Constantsยง
- BASE_
COLOR - Per-instance base color.
- COLOR
- Vertex color (
Unorm8x4). - CUTOFF
- Per-instance alpha cutoff (
Float32), read from the instance stream. - HULL_
WIDTH - Per-instance inverted-hull width (
Float32), read from the instance stream. - JOINTS
- Joint indices (
Uint16x4), read from the position stream. - JOINTS_
BASE - Per-instance joint-matrix base (
Uint32), read from the instance stream. - JOINTS_
WEIGHTS - Joint weights (
Unorm16x4), read from the position stream right after the indices. - METADATA_
INDEX - Per-instance index of the mesh metadata entry (
Uint32), read from the instance stream. - MODEL_0
- First column of the per-instance model matrix.
- MODEL_1
- Second column of the per-instance model matrix.
- MODEL_2
- Third column of the per-instance model matrix.
- MORPH_
BASE - Per-instance morph-weight base (
Uint32), read from the instance stream. - NORMAL
- Vertex normal (
Snorm16x2), read from the secondary stream. - POSITION
- Compressed position (
Snorm16x4). - UV
- Compressed UV (
Snorm16x2).