Variable: spriteInstanceDataSegment
constspriteInstanceDataSegment:InstanceDataSegment
Defined in: rendering/utilities/sprite-instance-data-segment.ts:170
The instance data segment for the standard sprite vertex shader (sprite.vert).
Binds position, rotation, scale, size, pivot, texture coordinates and tint
from an entity's SpriteEcsComponent, and wires them up to the
a_instancePos, a_instanceRot, a_instanceScale, a_instanceSize,
a_instancePivot, a_instanceTexOffset and a_instanceTexSize attributes.
Use this with combineInstanceDataSegments to reuse the sprite vertex
shader with a custom fragment shader, or to extend it with additional
per-instance attributes.