Members
colorTextures TextureSource[]
An array of textures that can be written to by the GPU - mostly this has one texture in Pixi, but you could write to multiple if required! (eg deferred lighting)
if true, will ensure a depth buffer is added. For WebGPU, this will automatically create a depthStencilTexture
depthStencilTexture TextureSource
the stencil and depth buffer will right to this texture in WebGPU
if true, will ensure a stencil buffer is added. For WebGPU, this will automatically create a depthStencilTexture
Methods
This will ensure a depthStencil texture is created for this render target. Most likely called by the mask system to make sure we have stencil buffer added.