MotionScript

@motion-script/core


@motion-script/core / UniformSlot

Interface: UniformSlot

Defined in: attributes/shape/sksl-uniforms.ts:74

One declared uniform, flattened to the float range it occupies in the buffer.

Properties

isInteger

isInteger: boolean

Defined in: attributes/shape/sksl-uniforms.ts:81

Written through an Int32Array view rather than as a float.


length

length: number

Defined in: attributes/shape/sksl-uniforms.ts:79

How many floats it spans (columns × rows, so an array folds its length in).


name

name: string

Defined in: attributes/shape/sksl-uniforms.ts:75


slot

slot: number

Defined in: attributes/shape/sksl-uniforms.ts:77

Index of this uniform's first float in the buffer.