Logo Mibo

ShadowSkinnedInstancedDraw Type

A skinned + instanced caster draw collected for the shadow pass.

One entry per skinned ModelMeshPart of a DrawAnimatedModelInstanced command — or one per MERGED part group when the model has mergeable skinned parts (off-GL; depth binds no material state, so merged geometry is always valid here). Shares the command's per-instance transforms + flat bone palettes (InstanceCount * boneCount, instance-major). Rendered via the depth effect's DepthSkinnedInstanced technique (palette texture + two-stream bind); on the OpenGL backend (no vertex texture fetch) the pass falls back to per-instance DepthSkinned draws. Colors/material overrides are irrelevant to depth and not carried. Like the other part-based casters, no world-space bounds — drawn unconditionally.

Record fields

Record Field Description

BoneCount

Full Usage: BoneCount

Field type: int
Field type: int

CastsShadow

Full Usage: CastsShadow

Field type: bool

Whether this draw was emitted while shadows were enabled (see ShadowMeshDraw).

Field type: bool

IndexBuffer

Full Usage: IndexBuffer

Field type: IndexBuffer
Field type: IndexBuffer

InstanceCount

Full Usage: InstanceCount

Field type: int
Field type: int

Palettes

Full Usage: Palettes

Field type: Matrix[]
Field type: Matrix[]

Part

Full Usage: Part

Field type: ModelMeshPart

The original part — used ONLY by the OpenGL per-instance fallback (drawPart needs its Effect). Null for merged entries, which that path never produces.

Field type: ModelMeshPart

PrimitiveCount

Full Usage: PrimitiveCount

Field type: int
Field type: int

StartIndex

Full Usage: StartIndex

Field type: int
Field type: int

Transforms

Full Usage: Transforms

Field type: Matrix[]
Field type: Matrix[]

VertexBuffer

Full Usage: VertexBuffer

Field type: VertexBuffer

Draw geometry: the original part's buffers (VertexOffset/StartIndex/PrimitiveCount of the part) or the merged group's buffers (offsets 0) — see .

Field type: VertexBuffer

VertexOffset

Full Usage: VertexOffset

Field type: int
Field type: int

Type something to start searching.