XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRenderGraphPassContext Class Reference

#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

Detailed Description

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.

Member Function Documentation

◆ GetCommandList()

XII_ALWAYS_INLINE xiiGALCommandList & xiiRenderGraphPassContext::GetCommandList ( ) const
nodiscard

Returns the command list for this pass to record GPU commands into.

Copyright (c) Theophilus Eriata. All Rights Reserved.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Pipeline/RenderGraph.h
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Pipeline/Implementation/RenderGraph_inl.h