Interface: CollectRenderablesMixin
Defined in: node_modules/pixi.js/lib/scene/container/container-mixins/collectRenderablesMixin.d.ts:12
Internal
The CollectRenderablesMixin interface defines methods for collecting renderable objects from a container and its children. These methods add the renderables to an instruction set, which is used by the renderer to process and display the scene.
Methods
collectRenderables()
> collectRenderables(instructionSet, renderer, currentLayer): void
Defined in: node_modules/pixi.js/lib/scene/container/container-mixins/collectRenderablesMixin.d.ts:21
Internal
Collects all renderables from the container and its children, adding them to the instruction set. This method decides whether to use a simple or advanced collection method based on the container's properties.
Parameters
instructionSet
The set of instructions to which the renderables will be added.
renderer
The renderer responsible for rendering the scene.
currentLayer
The current render layer being processed.
Returns
void
collectRenderablesSimple()
> collectRenderablesSimple(instructionSet, renderer, currentLayer): void
Defined in: node_modules/pixi.js/lib/scene/container/container-mixins/collectRenderablesMixin.d.ts:30
Internal
Collects renderables using a simple method, suitable for containers marked as simple. This method iterates over the container's children and adds their renderables to the instruction set.
Parameters
instructionSet
The set of instructions to which the renderables will be added.
renderer
The renderer responsible for rendering the scene.
currentLayer
The current render layer being processed.
Returns
void
collectRenderablesWithEffects()
> collectRenderablesWithEffects(instructionSet, renderer, currentLayer): void
Defined in: node_modules/pixi.js/lib/scene/container/container-mixins/collectRenderablesMixin.d.ts:39
Internal
Collects renderables using an advanced method, suitable for containers with complex processing needs. This method handles additional effects and transformations that may be applied to the renderables.
Parameters
instructionSet
The set of instructions to which the renderables will be added.
renderer
The renderer responsible for rendering the scene.
currentLayer
The current render layer being processed.
Returns
void