InstancedRenderList
A class that creates and manages a list of render items, used to determine the rendering order based on depth.
Constructors
new InstancedRenderList()
new InstancedRenderList():
InstancedRenderList
Returns
Properties
array
array:
InstancedRenderItem
[] =[]
The main array that holds the list of render items for instanced rendering.
Defined in
core/utils/InstancedRenderList.ts:10
Methods
push()
push(
depth
,index
):void
Adds a new render item to the list.
Parameters
• depth: number
The depth value used for sorting or determining the rendering order.
• index: number
The unique instance id of the render item.
Returns
void
Defined in
core/utils/InstancedRenderList.ts:18
reset()
reset():
void
Resets the render list by clearing the array.
Returns
void