Class
SpriteInstanceBindGroups
View sourceShared per-view sprite-instance bind-group cache.
Sprites have their own payload and bind-group layout instead of sharing the mesh instance block or its phase state.
Constructor
View source
Properties
staticreadonly MinSize : number
View sourceRaw std140 payload size for one sprite-instance block.
Default: SpriteInstanceUniform.BlockSize
bindGroupLayout : WebGLBindGroupLayout | undefined
View source Methods
getBindGroupLayout ( device: WebGLRenderDevice ) : WebGLBindGroupLayout
View source Returns the sprite-instance bind-group layout.
getOrSet ( object: object ) : SpriteInstanceBindGroupEntry
View source Returns the cached per-view entry for an object, creating it if needed.