![]() |
XII Release 0.1.0
|
#include <RenderGraph.h>
Public Member Functions | |
| xiiGALCommandList & | GetCommandList () const |
| Returns the command list for this pass to record GPU commands into. | |
| const xiiSharedPtr< xiiGALRenderPass > & | GetRenderPass () const |
| Returns the graph-owned native render pass active for this callback, or null when the pass manages its own scope. | |
| xiiUInt32 | GetSubpassIndex () const |
| Returns the subpass index within GetRenderPass(). Graph-managed standalone passes use subpass zero. | |
| xiiGALTexture * | GetTexture (xiiRenderGraphTextureHandle hTexture) const |
| Resolves a virtual texture handle to its actual GPU texture for this frame. | |
| xiiGALBuffer * | GetBuffer (xiiRenderGraphBufferHandle hBuffer) const |
| Resolves a virtual buffer handle to its actual GPU buffer for this frame. | |
| xiiRenderGraphBlackboard & | GetBlackboard () const |
| Returns the per-frame blackboard for typed inter-pass data exchange. | |
| xiiRenderGraphResourceCache & | GetResourceCache () const |
| Returns the resource cache for transient GPU resource allocation. | |
| const xiiView * | GetView () const |
| Returns the current view (may be null for headless passes). | |
| xiiUInt64 | GetFrameIndex () const |
| Returns the frame index for the current execution. | |
| xiiHashedString | GetPassName () const |
| Returns the pass name for labeling / assertions. | |
Friends | |
| class | xiiRenderGraph |
Execution context passed to every pass's execute callback.
Provides access to resolved GPU resources, the command list, the blackboard, the resource cache, and optional profiling / view data.
|
nodiscard |
Returns the command list for this pass to record GPU commands into.
Copyright (c) Theophilus Eriata. All Rights Reserved.