Logo Mibo

TransparentSkinnedInstanceDraw Type

A deferred transparent part of one instance from the skinned + instanced per-instance fallback (OpenGL, or a DX12 skeleton over the grouped-uniform budget): the palette rides the command's flat array, so the entry carries the instance index and reads its slice at flush time — the per-instance scratch array the draw staged from is overwritten by the next instance before the transparent pass runs.

Record fields

Record Field Description

BoneCount

Full Usage: BoneCount

Field type: int

Matrices in one instance's palette (one row of Palettes).

Field type: int

DistanceSq

Full Usage: DistanceSq

Field type: float32

Squared distance to the camera that deferred this draw (sort key).

Field type: float32

InstanceIndex

Full Usage: InstanceIndex

Field type: int

The row of Palettes this instance's palette occupies.

Field type: int

Material

Full Usage: Material

Field type: Material3D

The resolved material (override + tint already applied).

Field type: Material3D

Palettes

Full Usage: Palettes

Field type: Matrix[]

The command's flat palette array (instanceCount * BoneCount matrices).

Field type: Matrix[]

Part

Full Usage: Part

Field type: ModelMeshPart

The model-mesh-part of one instance to draw.

Field type: ModelMeshPart

World

Full Usage: World

Field type: Matrix

The parent-bone world transform of the part's mesh for this instance.

Field type: Matrix

Type something to start searching.