Nebula
Loading...
Searching...
No Matches
Vulkan::GraphicsDeviceState Struct Reference

Inherits CoreGraphics::GraphicsDeviceState.

Classes

struct  ConstantsRingBuffer
 
struct  PendingDeletes
 
struct  PendingMarkers
 
struct  Queries
 
struct  SparseBufferBind
 
struct  SparseImageBind
 

Public Member Functions

 _declare_counter (NumPipelinesBuilt)
 
 _declare_timer (DebugTimer)
 
- Public Member Functions inherited from CoreGraphics::GraphicsDeviceState
 _declare_counter (NumImageBytesAllocated)
 
 _declare_counter (NumBufferBytesAllocated)
 
 _declare_counter (NumBytesAllocated)
 
 _declare_counter (GraphicsDeviceNumComputes)
 
 _declare_counter (GraphicsDeviceNumPrimitives)
 
 _declare_counter (GraphicsDeviceNumDrawCalls)
 

Public Attributes

uint32_t adapter
 
uint32_t frameId
 
VkPhysicalDeviceMemoryProperties memoryProps
 
VkInstance instance
 
VkDescriptorPool descPool
 
VkPipelineCache cache
 
VkAllocationCallbacks alloc
 
CoreGraphics::BufferId vboStreams [MaxVertexStreams]
 
IndexT vboStreamOffsets [MaxVertexStreams]
 
CoreGraphics::BufferId ibo
 
IndexT iboOffset
 
Util::FixedArray< ConstantsRingBufferconstantBufferRings
 
Util::Array< Memory::RangeAllocationuploadAllocationsToFlush
 
Util::FixedArray< Util::Array< Memory::RangeAllocation > > uploadAllocationsToFree
 
CoreGraphics::BufferId uploadBuffer
 
Util::Array< SparseImageBindsparseImageBinds
 
Util::Array< SparseBufferBindsparseBufferBinds
 
Util::FixedArray< PendingDeletespendingDeletes
 
Util::Array< PendingDeletesdeletesPerSubmission
 
Util::FixedArray< Util::Array< CoreGraphics::SubmissionWaitEvent > > waitEvents
 
Util::FixedArray< Util::FixedArray< PendingMarkers > > pendingMarkers
 
Util::FixedArray< Queriesqueries
 
VkSemaphore waitForPresentSemaphore
 
VkExtensionProperties physicalExtensions [64]
 
uint32_t usedPhysicalExtensions
 
const char * deviceExtensionStrings [64]
 
uint32_t usedExtensions
 
const char * extensions [64]
 
uint32_t drawQueueFamily
 
uint32_t computeQueueFamily
 
uint32_t transferQueueFamily
 
uint32_t sparseQueueFamily
 
uint32_t drawQueueCount
 
uint32_t computeQueueCount
 
uint32_t transferQueueCount
 
uint32_t sparseQueueCount
 
Util::Set< uint32_t > usedQueueFamilies
 
Util::FixedArray< uint32_t > queueFamilyMap
 
VkSubContextHandler queueHandler
 
VkPipelineDatabase database
 
Util::FixedArray< VkDevice > devices
 
Util::FixedArray< VkPhysicalDevice > physicalDevices
 
Util::FixedArray< VkPhysicalDeviceProperties2 > deviceProps
 
Util::FixedArray< VkPhysicalDeviceAccelerationStructurePropertiesKHR > accelerationStructureDeviceProps
 
Util::FixedArray< VkPhysicalDeviceRayTracingPipelinePropertiesKHR > raytracingDeviceProps
 
Util::FixedArray< VkPhysicalDeviceFeatures > deviceFeatures
 
Util::FixedArray< uint32_t > numCaps
 
Util::FixedArray< Util::FixedArray< const char * > > deviceFeatureStrings
 
IndexT currentDevice
 
- Public Attributes inherited from CoreGraphics::GraphicsDeviceState
Util::Array< CoreGraphics::TextureIdbackBuffers
 
CoreGraphics::CmdBufferPoolId setupTransferCommandBufferPool
 
Util::Array< CoreGraphics::CmdBufferIdsetupTransferCommandBuffers
 
Util::Array< CoreGraphics::CmdBufferIdhandoverTransferCommandBuffers
 
CoreGraphics::CmdBufferPoolId setupGraphicsCommandBufferPool
 
Util::Array< CoreGraphics::CmdBufferIdsetupGraphicsCommandBuffers
 
Util::FixedArray< CoreGraphics::FenceIdpresentFences
 
Util::FixedArray< CoreGraphics::SemaphoreIdrenderingFinishedSemaphores
 
uint globalConstantBufferMaxValue
 
Util::FixedArray< CoreGraphics::BufferIdglobalConstantBuffer
 
CoreGraphics::ResourceTableId tickResourceTableGraphics
 
CoreGraphics::ResourceTableId tickResourceTableCompute
 
CoreGraphics::ResourceTableId frameResourceTableGraphics
 
CoreGraphics::ResourceTableId frameResourceTableCompute
 
Util::Array< Ptr< CoreGraphics::RenderEventHandler > > eventHandlers
 
Memory::RangeAllocator vertexAllocator
 
CoreGraphics::BufferId vertexBuffer
 
Memory::RangeAllocator indexAllocator
 
CoreGraphics::BufferId indexBuffer
 
Memory::RangeAllocator uploadAllocator
 
uint maxNumBufferedFrames = 1
 
uint32_t currentBufferedFrameIndex = 0
 
bool isOpen: 1
 
bool inNotifyEventHandlers: 1
 
bool renderWireframe: 1
 
bool visualizeMipMaps: 1
 
bool enableValidation: 1
 
IndexT currentFrameIndex = 0
 

Static Public Attributes

static const uint MaxVertexStreams = 16
 

Member Function Documentation

◆ _declare_counter()

Vulkan::GraphicsDeviceState::_declare_counter ( NumPipelinesBuilt )

◆ _declare_timer()

Vulkan::GraphicsDeviceState::_declare_timer ( DebugTimer )

Member Data Documentation

◆ accelerationStructureDeviceProps

Util::FixedArray<VkPhysicalDeviceAccelerationStructurePropertiesKHR> Vulkan::GraphicsDeviceState::accelerationStructureDeviceProps

◆ adapter

uint32_t Vulkan::GraphicsDeviceState::adapter

◆ alloc

VkAllocationCallbacks Vulkan::GraphicsDeviceState::alloc

◆ cache

VkPipelineCache Vulkan::GraphicsDeviceState::cache

◆ computeQueueCount

uint32_t Vulkan::GraphicsDeviceState::computeQueueCount

◆ computeQueueFamily

uint32_t Vulkan::GraphicsDeviceState::computeQueueFamily

◆ constantBufferRings

Util::FixedArray<ConstantsRingBuffer> Vulkan::GraphicsDeviceState::constantBufferRings

◆ currentDevice

IndexT Vulkan::GraphicsDeviceState::currentDevice

◆ database

VkPipelineDatabase Vulkan::GraphicsDeviceState::database

◆ deletesPerSubmission

Util::Array<PendingDeletes> Vulkan::GraphicsDeviceState::deletesPerSubmission

◆ descPool

VkDescriptorPool Vulkan::GraphicsDeviceState::descPool

◆ deviceExtensionStrings

const char* Vulkan::GraphicsDeviceState::deviceExtensionStrings[64]

◆ deviceFeatures

Util::FixedArray<VkPhysicalDeviceFeatures> Vulkan::GraphicsDeviceState::deviceFeatures

◆ deviceFeatureStrings

Util::FixedArray<Util::FixedArray<const char*> > Vulkan::GraphicsDeviceState::deviceFeatureStrings

◆ deviceProps

Util::FixedArray<VkPhysicalDeviceProperties2> Vulkan::GraphicsDeviceState::deviceProps

◆ devices

Util::FixedArray<VkDevice> Vulkan::GraphicsDeviceState::devices

◆ drawQueueCount

uint32_t Vulkan::GraphicsDeviceState::drawQueueCount

◆ drawQueueFamily

uint32_t Vulkan::GraphicsDeviceState::drawQueueFamily

◆ extensions

const char* Vulkan::GraphicsDeviceState::extensions[64]

◆ frameId

uint32_t Vulkan::GraphicsDeviceState::frameId

◆ ibo

CoreGraphics::BufferId Vulkan::GraphicsDeviceState::ibo

◆ iboOffset

IndexT Vulkan::GraphicsDeviceState::iboOffset

◆ instance

VkInstance Vulkan::GraphicsDeviceState::instance

◆ MaxVertexStreams

const uint Vulkan::GraphicsDeviceState::MaxVertexStreams = 16
static

◆ memoryProps

VkPhysicalDeviceMemoryProperties Vulkan::GraphicsDeviceState::memoryProps

◆ numCaps

Util::FixedArray<uint32_t> Vulkan::GraphicsDeviceState::numCaps

◆ pendingDeletes

Util::FixedArray<PendingDeletes> Vulkan::GraphicsDeviceState::pendingDeletes

◆ pendingMarkers

Util::FixedArray<Util::FixedArray<PendingMarkers> > Vulkan::GraphicsDeviceState::pendingMarkers

◆ physicalDevices

Util::FixedArray<VkPhysicalDevice> Vulkan::GraphicsDeviceState::physicalDevices

◆ physicalExtensions

VkExtensionProperties Vulkan::GraphicsDeviceState::physicalExtensions[64]

◆ queries

Util::FixedArray<Queries> Vulkan::GraphicsDeviceState::queries

◆ queueFamilyMap

Util::FixedArray<uint32_t> Vulkan::GraphicsDeviceState::queueFamilyMap

◆ queueHandler

VkSubContextHandler Vulkan::GraphicsDeviceState::queueHandler

◆ raytracingDeviceProps

Util::FixedArray<VkPhysicalDeviceRayTracingPipelinePropertiesKHR> Vulkan::GraphicsDeviceState::raytracingDeviceProps

◆ sparseBufferBinds

Util::Array<SparseBufferBind> Vulkan::GraphicsDeviceState::sparseBufferBinds

◆ sparseImageBinds

Util::Array<SparseImageBind> Vulkan::GraphicsDeviceState::sparseImageBinds

◆ sparseQueueCount

uint32_t Vulkan::GraphicsDeviceState::sparseQueueCount

◆ sparseQueueFamily

uint32_t Vulkan::GraphicsDeviceState::sparseQueueFamily

◆ transferQueueCount

uint32_t Vulkan::GraphicsDeviceState::transferQueueCount

◆ transferQueueFamily

uint32_t Vulkan::GraphicsDeviceState::transferQueueFamily

◆ uploadAllocationsToFlush

Util::Array<Memory::RangeAllocation> Vulkan::GraphicsDeviceState::uploadAllocationsToFlush

◆ uploadAllocationsToFree

Util::FixedArray<Util::Array<Memory::RangeAllocation> > Vulkan::GraphicsDeviceState::uploadAllocationsToFree

◆ uploadBuffer

CoreGraphics::BufferId Vulkan::GraphicsDeviceState::uploadBuffer

◆ usedExtensions

uint32_t Vulkan::GraphicsDeviceState::usedExtensions

◆ usedPhysicalExtensions

uint32_t Vulkan::GraphicsDeviceState::usedPhysicalExtensions

◆ usedQueueFamilies

Util::Set<uint32_t> Vulkan::GraphicsDeviceState::usedQueueFamilies

◆ vboStreamOffsets

IndexT Vulkan::GraphicsDeviceState::vboStreamOffsets[MaxVertexStreams]

◆ vboStreams

CoreGraphics::BufferId Vulkan::GraphicsDeviceState::vboStreams[MaxVertexStreams]

◆ waitEvents

Util::FixedArray<Util::Array<CoreGraphics::SubmissionWaitEvent> > Vulkan::GraphicsDeviceState::waitEvents

◆ waitForPresentSemaphore

VkSemaphore Vulkan::GraphicsDeviceState::waitForPresentSemaphore

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