OptionalclearThe clear mode to use.
OptionalclearThe color to clear with.
The container to render.
OptionalflipOpt-in toggle that inverts the render's Y orientation. Defaults to false — a no-op, so existing
renders are unchanged on both WebGL and WebGPU.
Set flipY: true to invert the automatic orientation: when rendering to a texture this stores the
capture in screen orientation (the un-flipped result 3D geometry UVs expect), removing the need to
flip at sample time on every consuming material.
The projection flip and the winding/cull inversion flip together, so back-face culling of 3D content rendered into the texture stays correct.
Optional AdvancedlayerArray layer index to render/clear to when the target is an array-backed texture source (e.g. arrayLayerCount > 1).
This maps to WebGPU's GPUTextureViewDescriptor.baseArrayLayer when creating render-attachment views.
Optional AdvancedmipMip level to render/clear to when the target is a texture-backed render surface.
0
Note: When rendering to a Texture target, Pixi renders into the underlying TextureSource
(via an internal RenderTarget). The texture's frame is interpreted in mip 0 space and is scaled/clamped
to the requested mip level.
OptionaltargetThe render target to render. if this target is a canvas and you are using the WebGL renderer,
please ensure you have set multiView to true on renderer.
Optionaltransformthe transform to apply to the container.
The options for rendering a view.