struct
render::RenderPassCreateInformation
Descriptor structure used for initialization of a render pass.
Render pass will bind the provided render target and allow draw calls to be executed until it ends.
Public
Constructors
RenderPassCreateInformation
RenderPassCreateInformation
RenderPassCreateInformation
Fields
ReadOnlyMask
Which surfaces of the render target are read-only.
Read-only surfaces cannot be written to during the render pass.
LoadMask
Which surfaces of the render target should preserve their existing contents.
Use this when you need to blend, read, or perform other operations with the existing contents of the render target.
ClearMask
Determines which surfaces to clear when the render pass starts.
Use ,
and to determine which values to clear them to.
ClearColor
Determines the color to which to clear all color attachments, for attachments that clear is enabled in .
ClearDepth
Determines the depth to which to clear the depth attachment, if clear is enabled in .
ClearStencil
Determines the stencil to which to clear the stencil attachment, if clear is enabled in .
Parameters
Set of all GPU parameters that will be bound during this render pass.
The command buffer will pre-register all resources from these parameters, allowing barriers and layout transitions to be issued before the render pass begins.