Optional
labelThe label of the RenderPass, sent to various GPU objects for debugging purpose.
Optional
sampleWhether the view and depth textures should use multisampling or not.
Optional
qualityForce all the RenderPass textures size to be set to the given ratio of the renderer canvas size. Used mainly to lower the rendered definition.
Optional
fixedForce the all the RenderPass textures to be set at given size. Used mainly to lower the rendered definition.
Optional
useWhether this RenderPass should handle a view texture.
Optional
renderWhether the main (first colorAttachments) view texture should use the content of the swap chain and render to it each frame.
Optional
colorArray of one or multiple (Multiple Render Targets) color attachments parameters.
Optional
useWhether this RenderPass should handle a depth texture.
Optional
depthWhether this RenderPass should use an already created depth texture.
Optional
depthThe depth load operation to perform while drawing this RenderPass. Default to 'clear
.
Optional
depthThe depth store operation to perform while drawing this RenderPass. Default to 'store'
.
Optional
depthThe depth clear value to clear to before drawing this RenderPass.
Optional
depthOptional format of the depth texture.
Optional
depthIndicates that the depth component of the depth texture view is read only. Default to false
.
Optional
stencilA 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
.
Optional
stencilThe stencil load operation to perform while drawing this RenderPass. Default to 'clear
.
Optional
stencilThe stencil store operation to perform while drawing this RenderPass. Default to 'store'
.
Optional
stencilIndicates that the stencil component of the depth texture view is read only. Default to false
.
Parameters used to create this RenderPass.