TransparentDraw Type
A deferred transparent draw for the forward pass: a single model-mesh-part or primitive
draw whose resolved material has 0 < Opacity < 1. Collected inline during the
forward pass, sorted far-to-near by camera distance, and flushed after all opaque geometry
with alpha blending + depth-read (opaque geometry already wrote depth; each successive
transparent is nearer and passes the depth test). Transparent geometry is also excluded
from the shadow and scene-depth gathers (see ShadowPass.collectCommand) — something
that renders blended must not write shadow depth.
Record fields
| Record Field |
Description
|
The bone palette for skinned parts (ValueNone otherwise).
|
|
Full Usage:
DistanceSq
Field type: float32
|
Squared distance to the camera that deferred this draw (sort key).
|
|
The resolved material (override + tint already applied).
|
|
The primitive mesh to draw (ValueNone for model parts).
|
|
The model-mesh-part to draw (ValueNone for primitives).
|
Full Usage:
StartIndex
Field type: int
|
The first index of the primitive's slice within its shared buffer
(
|
Full Usage:
VertexOffset
Field type: int
|
The first vertex of the primitive's slice within its shared buffer
(
|
The world transform of the mesh (per-mesh world for model parts).
|
Mibo