Class
MeshInstanceBindGroups
View sourceShared per-view mesh-instance bind-group cache.
Each view entry owns independent 3D and 2D phase buffers so render stages can reuse a cached bind group for their mesh data.
Constructor
View source
Properties
staticreadonly MinSize : number
View sourceRaw std140 payload size for one mesh-instance block.
Default: MeshInstanceUniform.BlockSize
bindGroupLayout : WebGLBindGroupLayout | undefined
View sourceSuperset bind group layout shared by every mesh-instance phase.
Methods
getBindGroupLayout ( device: WebGLRenderDevice ) : WebGLBindGroupLayout
View source Returns the shared bind group layout for the current payload size.
getOrSet ( object: object ) : MeshInstanceBindGroupEntry
View source Returns the cached per-view entry for an object, creating it if needed.