Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::gpu::RootSignatureLayout Struct Reference

#include <resources.h>

Public Member Functions

uint32_t RootConstantIndex () const
uint32_t DebugRingIndex () const
uint32_t GraphStatsIndex () const
uint32_t GraphTraceIndex () const
uint32_t SrvIndex (uint32_t shaderRegister) const

Public Attributes

uint32_t uavCount = 0
uint32_t rootConstantCount = 0
bool debugRing = false
bool graphStats = false
bool graphTrace = false
uint32_t srvCount = 0

Detailed Description

Definition at line 30 of file resources.h.

Member Function Documentation

◆ DebugRingIndex()

uint32_t bicameral::gpu::RootSignatureLayout::DebugRingIndex ( ) const
inlinenodiscard

Definition at line 39 of file resources.h.

References rootConstantCount, and uavCount.

Referenced by bicameral::sim::GpuMultires::BindRoot(), bicameral::sim::GpuPhysics::BindRoot(), bicameral::sim::ProbeSim::BindRootViews(), GraphStatsIndex(), bicameral::sim::GpuImplicitLevels::RecordBuild(), and bicameral::sim::GpuImplicit::RecordStep().

Here is the caller graph for this function:

◆ GraphStatsIndex()

uint32_t bicameral::gpu::RootSignatureLayout::GraphStatsIndex ( ) const
inlinenodiscard

Definition at line 40 of file resources.h.

References debugRing, and DebugRingIndex().

Referenced by bicameral::sim::ProbeSim::BindRootViews(), and GraphTraceIndex().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GraphTraceIndex()

uint32_t bicameral::gpu::RootSignatureLayout::GraphTraceIndex ( ) const
inlinenodiscard

Definition at line 41 of file resources.h.

References graphStats, and GraphStatsIndex().

Referenced by bicameral::sim::ProbeSim::BindRootViews(), and SrvIndex().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RootConstantIndex()

uint32_t bicameral::gpu::RootSignatureLayout::RootConstantIndex ( ) const
inlinenodiscard

Definition at line 38 of file resources.h.

References uavCount.

Referenced by bicameral::sim::GpuMultires::BindRoot(), bicameral::sim::GpuPhysics::BindRoot(), bicameral::sim::GpuImplicit::Dispatch(), bicameral::sim::GpuImplicitLevels::Dispatch(), and bicameral::sim::GpuImplicit::DispatchIndirect().

Here is the caller graph for this function:

◆ SrvIndex()

uint32_t bicameral::gpu::RootSignatureLayout::SrvIndex ( uint32_t shaderRegister) const
inlinenodiscard

Definition at line 42 of file resources.h.

References graphTrace, and GraphTraceIndex().

Referenced by bicameral::sim::GpuMultires::BindRoot(), bicameral::sim::GpuPhysics::BindRoot(), bicameral::sim::ProbeSim::BindRootViews(), and bicameral::render::ProbeView::Record().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ debugRing

bool bicameral::gpu::RootSignatureLayout::debugRing = false

Definition at line 33 of file resources.h.

Referenced by bicameral::gpu::CreateRootSignature(), and GraphStatsIndex().

◆ graphStats

bool bicameral::gpu::RootSignatureLayout::graphStats = false

Definition at line 34 of file resources.h.

Referenced by bicameral::gpu::CreateRootSignature(), and GraphTraceIndex().

◆ graphTrace

bool bicameral::gpu::RootSignatureLayout::graphTrace = false

Definition at line 35 of file resources.h.

Referenced by bicameral::gpu::CreateRootSignature(), and SrvIndex().

◆ rootConstantCount

uint32_t bicameral::gpu::RootSignatureLayout::rootConstantCount = 0

Definition at line 32 of file resources.h.

Referenced by bicameral::gpu::CreateRootSignature(), and DebugRingIndex().

◆ srvCount

uint32_t bicameral::gpu::RootSignatureLayout::srvCount = 0

Definition at line 36 of file resources.h.

Referenced by bicameral::gpu::CreateRootSignature().

◆ uavCount

uint32_t bicameral::gpu::RootSignatureLayout::uavCount = 0

The documentation for this struct was generated from the following file: