XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRenderGraphStatistics Struct Reference

Per-compile statistics for diagnostics and HUD display. More...

#include <RenderGraph.h>

Inheritance diagram for xiiRenderGraphStatistics:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
Public Member Functions inherited from xiiHashableStruct< xiiRenderGraphStatistics >
constexpr xiiHashableStruct () noexcept
 Default constructor. Initializes all bytes to zero.
xiiHashableStruct & operator= (const xiiHashableStruct &other) noexcept
 Bitwise assignment operator.
bool operator== (const xiiHashableStruct &other) const noexcept
 Compares equality via raw byte comparison.
std::strong_ordering operator<=> (const xiiHashableStruct &other) const noexcept
 Compares ordering via raw byte comparison.
xiiUInt32 CalculateHash () const noexcept
 Calculates a 32-bit hash from raw bytes of the struct.
void Clear () noexcept
 Fills all bytes with zero.
bool IsZero () const noexcept
 Returns true if all bytes are zero.

Public Attributes

xiiUInt32 m_uiRegisteredPassCount = 0U
 Passes registered with the graph before compilation.
xiiUInt32 m_uiCompiledPassCount = 0U
 Passes that survived culling and were included in the final execution plan.
xiiUInt32 m_uiCulledPassCount = 0U
 Passes that were culled because they are not reachable from any side-effect pass.
xiiUInt32 m_uiTotalBarrierCount = 0U
 Total resource state barriers synthesized by the compiler.
xiiUInt32 m_uiSplitBarrierCount = 0U
 Barriers that were split into Begin/End pairs to overlap with GPU execution.
xiiUInt32 m_uiMergeGroupCount = 0U
 Groups of passes merged into a single native render pass.
xiiUInt32 m_uiQueueSubmissionCount = 0U
 Command list batches scheduled on separate queues.
xiiUInt32 m_uiTransientTextureCount = 0U
 Transient textures that were automatically created and managed by the graph.
xiiUInt32 m_uiTransientBufferCount = 0U
 Transient buffers that were automatically created and managed by the graph.
xiiUInt32 m_uiAliasGroupCount = 0U
 Number of compatible physical allocation groups used by transient resources.
xiiUInt32 m_uiAliasedResourceCount = 0U
 Number of logical resources sharing an allocation group with another resource.
xiiUInt64 m_uiGraphSignature = 0ULL
 Hash of the graph structure and compile settings, used for caching compiled results.
bool m_bUsedCachedCompile = false
 Whether the compiler was able to skip work by reusing a cached execution plan from a previous compile with the same graph signature.

Detailed Description

Per-compile statistics for diagnostics and HUD display.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Pipeline/RenderGraph.h