Advanced
true if this instruction can be compiled into a WebGPU bundle
Readonly
childrenReadonly
childrenIndicates if the container should be cached as a texture.
a the id of the render pipe that can run this instruction
Optional
textureThe texture used for caching the container. this is only set if isCachedAsTexture is true. It can only be accessed after a render pass.
Indicates if the cached texture needs to be updated.
The options for caching the container as a texture.
Returns a matrix that transforms coordinates to the correct coordinate space of the texture being rendered to. This is the texture offset inverse transform of the closest parent RenderGroup that is cached as a texture.
The transform matrix for the cached texture coordinate space, or null if no parent is cached as texture.
Returns the inverse of the parent texture transform matrix. This is used to properly transform coordinates when rendering into cached textures.
The inverse of the parent texture transform matrix.
Returns the inverse of the world transform matrix.
The inverse of the world transform matrix.
Returns the inverse of the texture offset transform matrix.
The inverse of the texture offset transform matrix.
adding a container to the onRender list will make sure the user function passed in to the user defined 'onRender` callBack
the container to add to the onRender list
A RenderGroup is a class that is responsible for I generating a set of instructions that are used to render the root container and its children. It also watches for any changes in that container or its children, these changes are analysed and either the instruction set is rebuild or the instructions data is updated.