Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pixijs-userland/layers
/ functions
Functions
53 in github.com/pixijs-userland/layers
⨍
Functions
53
◇
Types & classes
14
↓ 4 callers
Method
clear
* clears temporary variables
src/Group.ts:98
↓ 3 callers
Method
destroy
@override
src/Layer.ts:314
↓ 3 callers
Function
generateLayerContainerRenderMethod
(originalRender: any)
src/DisplayMixin.ts:5
↓ 3 callers
Method
incDisplayOrder
**Internal** method for updating {@link ILayeredRenderer#_lastDisplayOrder}
src/RendererMixin.ts:21
↓ 2 callers
Method
_addRecursive
(displayObject: DisplayObject)
src/Stage.ts:97
↓ 2 callers
Method
_onEndLayerSubtreeTraversal
* This should be called when the full subtree of the layer has been traversed while updating the stage's scene. * * This is an **internal**
src/Layer.ts:401
↓ 2 callers
Method
_queueAdd
(displayObject: DisplayObject, order: number)
src/LayersTreeSearch.ts:148
↓ 2 callers
Method
_resolveChildDisplayObject
* Resolve a child {@link PIXI.DisplayObject} that is set to be in this group. * * This is an **internal** method. * * @see Stage#u
src/Group.ts:113
↓ 2 callers
Method
_updateStageInner
()
src/Stage.ts:64
↓ 2 callers
Function
applyRendererMixin
(rendererClass: typeof Renderer)
src/RendererMixin.ts:61
↓ 2 callers
Method
check
(stage: Stage)
src/Group.ts:149
↓ 2 callers
Method
clear
* clears all display lists that were used in last rendering session * please clear it when you stop using this displayList, otherwise you may hav
src/Stage.ts:31
↓ 2 callers
Method
containerRenderWebGL
(renderer: import('@pixi/core').Renderer)
global.d.ts:3
↓ 2 callers
Method
init
(renderer?: Renderer)
src/Layer.ts:26
↓ 2 callers
Method
postrender
* Cleans up the renderer after this layer is rendered. * * It restores {@link Renderer#_activeLayer} to the parent layer and restores the ca
src/Layer.ts:499
↓ 2 callers
Method
prerender
* Prepares the renderer for this layer. * * It will assign {@link PIXI.Renderer#_activeLayer} to {@code this}, and set the active layer befo
src/Layer.ts:449
↓ 1 callers
Method
_addRecursiveChildren
(displayObject: DisplayObject)
src/Stage.ts:155
↓ 1 callers
Method
_finishInteractionProcess
(event: any, func: any)
src/LayersTreeSearch.ts:174
↓ 1 callers
Method
_onBeginLayerSubtreeTraversal
* This should be called when the layer is found while traversing the scene for updating object-layer association. * * This is an **internal*
src/Layer.ts:373
↓ 1 callers
Method
_resolveLayer
* Resolve the layer rendering this group of {@link DisplayObject display objects}. * * This is an **internal** method. * * @see La
src/Group.ts:136
↓ 1 callers
Method
_startInteractionProcess
()
src/LayersTreeSearch.ts:135
↓ 1 callers
Function
applyContainerRenderMixin
(CustomRenderContainer: any)
src/DisplayMixin.ts:98
↓ 1 callers
Function
applyDisplayMixin
()
src/DisplayMixin.ts:69
↓ 1 callers
Method
conflict
Log a conflict that occurs when multiple layers render the same group.
src/Group.ts:176
↓ 1 callers
Method
containerRenderCanvas
(renderer: import('@pixi/layers').ILayeredRenderer)
global.d.ts:4
↓ 1 callers
Method
doSort
* you can override this method for this particular layer, if you want
src/Layer.ts:308
↓ 1 callers
Function
generateLayerRendererMethod
* @internal * @ignore
src/RendererMixin.ts:33
↓ 1 callers
Method
popTexture
Flushes the renderer and restores the old render-target.
src/Layer.ts:139
↓ 1 callers
Method
pushTexture
Prepares the layer's render-texture and set it as the render-target.
src/Layer.ts:55
↓ 1 callers
Method
recursiveFindHit
(point: Point, displayObject: any, hitTestOrder: number, interactive: boolean, outOfMask: boolean)
src/LayersTreeSearch.ts:14
↓ 1 callers
Method
updateAsChildStage
(stage: Stage)
src/Stage.ts:57
↓ 1 callers
Method
updateStage
* This should be called before rendering for resolving items in the scene tree to their {@link Layer layers}. * * If your scene's root is a
src/Stage.ts:50
Method
_oldRender
**Internal** reference to old render method
src/RendererMixin.ts:24
Function
applyCanvasMixin
(canvasRenderClass: any)
src/RendererMixin.ts:97
Function
applyParticleMixin
(ParticleContainer: any)
src/DisplayMixin.ts:117
Method
clearColor
* The background color to clear the layer. * * This should be used when {@link Layer#useRenderTexture} is enabled.
src/Layer.ts:273
Method
compareZIndex
(a: DisplayObject, b: DisplayObject)
src/Group.ts:81
Method
constructor
* @param zIndex - The z-index for the entire group. * @param sorting - This will enable sorting by z-order. You can also pass a callback that wil
src/Group.ts:55
Method
constructor
(public layer: Layer)
src/Layer.ts:17
Method
constructor
* @param group - The group of {@link DisplayObject}s to be rendered by this layer.
src/Layer.ts:219
Function
containerRender
* @internal * @private * @ignore
src/DisplayMixin.ts:42
Method
destroy
(options?: any)
src/Stage.ts:38
Method
destroy
Destroy the texture-cache. Set {@link Layer.textureCache} to {@code null} after destroying it!
src/Layer.ts:171
Method
doSort
(layer: Layer, sorted: Array<DisplayObject>)
src/Group.ts:68
Method
findHit
(interactionEvent: any, displayObject: DisplayObject, func: any, hitTest: boolean)
src/LayersTreeSearch.ts:126
Method
getRenderTexture
See {@link Layer#getRenderTexture}.
src/Layer.ts:44
Method
getRenderTexture
* The rendering {@link Layer#useRenderTexture into a render-texture} is enabled, this will return * the render-texture used by this layer.
src/Layer.ts:295
Function
incDisplayOrder
()
src/RendererMixin.ts:74
Method
layerRenderCanvas
(renderer: any)
src/Layer.ts:356
Method
render
@override
src/Layer.ts:326
Method
sortPriority
()
src/Layer.ts:282
Method
useDoubleBuffer
* This will enable double buffering for this layer. * * This layer will keep two render-textures to render into - choosing one each frame on
src/Layer.ts:259
Method
useRenderTexture
* Flags whether this layer should render into a render-texture. * * This is useful if you want to use the layer as a texture elsewhere - for
src/Layer.ts:242