OptionallabelThe label of the RenderPass, sent to various GPU objects for debugging purpose.
OptionalsampleWhether the view and depth textures should use multisampling or not. Default to 4.
OptionalqualityForce all the RenderPass textures size to be set to the given ratio of the renderer canvas size. Used mainly to lower the rendered definition. Default to 1.
OptionalfixedForce the all the RenderPass textures to be set at given size. Used mainly to force a lower rendered definition at a given size. Default to null.
OptionaluseWhether this RenderPass should handle a view texture. Default to true.
OptionalrenderWhether the main (first colorAttachments) view texture should use the content of the swap chain and render to it each frame. Default to true.
OptionalcolorArray of one or multiple (Multiple Render Targets) color attachments parameters. Default to [].
OptionaluseWhether this RenderPass should handle a depth texture. Default to true.
OptionaldepthWhether this RenderPass should use an already created depth texture.
OptionalforceForce the depthLoadOp behaviour of this RenderPass instead on relying on the Scene default one. Default to null.
OptionalforceForce the depthStoreOp behaviour of this RenderPass instead on relying on the Scene default one. Default to null.
OptionaldepthThe depth clear value to clear to before drawing this RenderPass. Default to 1.
OptionaldepthOptional format of the depth texture. Default to 'depth24plus'.
OptionalforceForce the depthReadOnly behaviour of this RenderPass instead on relying on the Scene default one. Default to null.
OptionalstencilA number indicating the value to clear view's stencil component to prior to executing the render pass. This is ignored if stencilLoadOp is not set to "clear". Default to 0.
OptionalforceForce the stencilLoadOp behaviour of this RenderPass instead on relying on the Scene default one. Default to null.
OptionalforceForce the stencilStoreOp behaviour of this RenderPass instead on relying on the Scene default one. Default to null.
OptionalforceForce the stencilReadOnly behaviour of this RenderPass instead on relying on the Scene default one. Default to null.
Parameters used to create this RenderPass.