Used by RenderTarget and the Renderer to render to one or multiple view textures (and optionally a depth texture), using a specific GPURenderPassDescriptor.

Constructors

Properties

renderer: Renderer

Renderer used by this RenderPass.

type: string

The type of the RenderPass.

uuid: string

The universal unique id of this RenderPass.

Options used to create this RenderPass.

depthTexture: Texture

Depth Texture to use with this RenderPass if it should handle depth .

viewTextures: Texture[]

Array of Texture used for this RenderPass color attachments view textures.

resolveTargets: Texture[]

Array of Texture used for this RenderPass color attachments resolve textures.

descriptor: GPURenderPassDescriptor

Accessors

Methods