Skip to content

Documentation / scene / InstanceBindGroupAllocator

Class: InstanceBindGroupAllocator

Defined in: libs/scene/src/render/render_queue.ts:29

Instance bind group allocator

Constructors

Constructor

new InstanceBindGroupAllocator(): InstanceBindGroupAllocator

Defined in: libs/scene/src/render/render_queue.ts:33

Returns

InstanceBindGroupAllocator

Properties

_bindGroupList

_bindGroupList: CachedBindGroup[] = []

Defined in: libs/scene/src/render/render_queue.ts:31

Methods

allocateInstanceBindGroup()

allocateInstanceBindGroup(framestamp, sizeInFloats): CachedBindGroup

Defined in: libs/scene/src/render/render_queue.ts:37

Parameters

framestamp

number

sizeInFloats

number

Returns

CachedBindGroup

Released under the MIT License.