|
| xiiRenderGraphTextureHandle | DeclareTexture (xiiStringView sName, const xiiGALTextureCreationDescription &description) |
|
xiiRenderGraphTextureHandle | DeclareTexture (xiiStringView sName, const xiiGALTextureCreationDescription &description, xiiBitflags< xiiRenderGraphResourceFlags > flags) |
| | Declares a texture with explicit lifetime flags. Exactly one of Transient or Persistent must be set.
|
|
xiiRenderGraphTextureHandle | ImportTexture (xiiStringView sName, xiiSharedPtr< xiiGALTexture > pTexture, xiiBitflags< xiiGALResourceStateFlags > currentState) |
| | Imports an externally-owned texture as a read-only graph resource.
|
| xiiRenderGraphTextureHandle | ReadTexture (xiiRenderGraphTextureHandle hTexture, xiiBitflags< xiiGALResourceStateFlags > requiredState) |
|
xiiRenderGraphTextureHandle | ReadTexture (xiiStringView sName, xiiBitflags< xiiGALResourceStateFlags > requiredState) |
| | Read a previously declared/imported texture by name. This is less efficient than using the handle directly, so prefer to store the handle if you need to read the same resource multiple times.
|
| xiiRenderGraphTextureHandle | WriteTexture (xiiRenderGraphTextureHandle hTexture, xiiBitflags< xiiGALResourceStateFlags > requiredState) |
| xiiRenderGraphTextureHandle | ReadWriteTexture (xiiRenderGraphTextureHandle hTexture, xiiBitflags< xiiGALResourceStateFlags > requiredState) |
|
xiiRenderGraphTextureHandle | WriteTexture (xiiStringView sName, const xiiGALTextureCreationDescription &description, xiiBitflags< xiiGALResourceStateFlags > requiredState) |
| | Declares a new transient texture resource owned by the graph and registers the first write in one call.
|
|
void | ExportTexture (xiiRenderGraphTextureHandle hTexture, xiiBitflags< xiiGALResourceStateFlags > finalState) |
| | Marks a texture version as a graph output and optionally transitions it to the consumer's state.
|
| xiiRenderGraphBufferHandle | DeclareBuffer (xiiStringView sName, const xiiGALBufferCreationDescription &description) |
|
xiiRenderGraphBufferHandle | DeclareBuffer (xiiStringView sName, const xiiGALBufferCreationDescription &description, xiiBitflags< xiiRenderGraphResourceFlags > flags) |
| | Declares a buffer with explicit lifetime flags. Exactly one of Transient or Persistent must be set.
|
|
xiiRenderGraphBufferHandle | ImportBuffer (xiiStringView sName, xiiSharedPtr< xiiGALBuffer > pBuffer, xiiBitflags< xiiGALResourceStateFlags > currentState) |
| | Imports an externally-owned buffer as a read-only graph resource.
|
| xiiRenderGraphBufferHandle | ReadBuffer (xiiRenderGraphBufferHandle hBuffer, xiiBitflags< xiiGALResourceStateFlags > requiredState) |
|
xiiRenderGraphBufferHandle | ReadBuffer (xiiStringView sName, xiiBitflags< xiiGALResourceStateFlags > requiredState) |
| | Read a previously declared/imported buffer by name. This is less efficient than using the handle directly, so prefer to store the handle if you need to read the same resource multiple times.
|
| xiiRenderGraphBufferHandle | WriteBuffer (xiiRenderGraphBufferHandle hBuffer, xiiBitflags< xiiGALResourceStateFlags > requiredState) |
| xiiRenderGraphBufferHandle | ReadWriteBuffer (xiiRenderGraphBufferHandle hBuffer, xiiBitflags< xiiGALResourceStateFlags > requiredState) |
|
xiiRenderGraphBufferHandle | WriteBuffer (xiiStringView sName, const xiiGALBufferCreationDescription &description, xiiBitflags< xiiGALResourceStateFlags > requiredState) |
| | Declares a new transient buffer resource owned by the graph and registers the first write in one call.
|
|
void | ExportBuffer (xiiRenderGraphBufferHandle hBuffer, xiiBitflags< xiiGALResourceStateFlags > finalState) |
| | Marks a buffer version as a graph output and optionally transitions it to the consumer's state.
|
| void | SetPassSideEffects (bool bHasSideEffects) |
| xiiResult | WaitForFence (xiiSharedPtr< xiiGALFence > fence, xiiUInt64 value) |
| void | SetPassAllowMerge (bool bAllowMerge) |
| void | SetPassRenderPassManaged (bool bManaged=true) |
| void | SetPassPreparation (xiiDelegate< void(xiiRenderGraphPassContext &)> preparation) |
Declarative API used inside a pass's setup callback to declare resource usage.
Each call to Read* or Write* records a dependency edge in the graph's dependency table and advances the resource version on writes. The builder may only be used within the setup callback passed to xiiRenderGraph::AddPass().