AdvancedWhether the source re-renders every frame; ContainerSourceOptions#autoUpdate has the details
Sets whether the source re-renders every frame
true to re-render every frame.
The colour ContainerSourceOptions#clearColor describes; set it or change this one in place, then render again
Sets the colour the next render clears to
Any ColorSource, such as 'black'.
The renderer kept for ContainerSource#render calls with no argument, or null
Sets the kept renderer
A renderer, or null to release it.
The capture matrix ContainerSourceOptions#transform describes; change it or assign a new one, then render again
Sets the capture matrix, copying value
The new capture matrix.
Frees the render target and stops ContainerSource#autoUpdate, leaving the container
detached but intact unless you pass true
Also destroy the container and its children.
Renders the container into this source, as ContainerTexture#render describes
Optionalrenderer: Renderer
Renderer to draw with, kept for later calls; omit to use the kept one.
Swaps the Container this source renders, as ContainerTexture#setContainer describes
The new container to render.
A TextureSource whose pixels are a live 2D PixiJS Container
The source behind ContainerTexture, whose docs cover when to render and which way up the picture is. Build one yourself to make several
Textures, each with its own frame, over one container that renders once for all of them. TextureSource#resize changes its size.Example