Skip to main content

Module instances

Module instances 

Source
Expand description

Validated opaque instance records shared by content and render packages.

Structs§

AnalyticInstanceState
Seeded initial facts for one stable particle, before evaluating time.
AnalyticInstanceUpload
Immutable bounded analytic program evaluated into ordinary twelve-word primitives.
ExtendedInstanceRecord
Versioned sixteen-word primitive, leaving the original record layout intact. SpriteSheet uses UV bounds; tapered segments use the other endpoint color; analytic shapes use kind-specific finite parameters.
InstanceRecord
Backend-independent evaluated geometry, encoded as twelve device words.
InstanceUpload
Checked immutable device payload without graphics API handles.

Enums§

AnalyticTrajectoryKind
Closed analytic models; fixed-step simulations are deliberately not represented.
InstanceBlend
Batch-level compositing applied to every primitive in a batch.
InstanceKind
Coverage and compositing of one evaluated primitive.

Constants§

ANALYTIC_HEADER_WORDS
Version-one analytic header length, in four-byte words.
ANALYTIC_STATE_WORDS
Version-one initial-state stride, in four-byte words.
MAX_INSTANCE_COUNT
Maximum portable batch size; allocations and sampling remain budget-limited.

Traits§

InstanceBatch
Immutable instance data, independent of a particular renderer or simulator.
SpatialInstances
Optional ordered CPU sampling with conservative per-instance support. Outside a declared support rectangle an instance must produce an all-zero source.

Type Aliases§

InstanceComposite
Composites one already-covered linear-premultiplied instance sample.