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

#include <graphicsdevice.h>

Inherited by Vulkan::GraphicsDeviceState.

Public Member Functions

 _declare_counter (NumImageBytesAllocated)
 _declare_counter (NumBufferBytesAllocated)
 _declare_counter (NumBytesAllocated)
 _declare_counter (GraphicsDeviceNumComputes)
 _declare_counter (GraphicsDeviceNumPrimitives)
 _declare_counter (GraphicsDeviceNumDrawCalls)

Public Attributes

Util::Array< CoreGraphics::TextureIdbackBuffers
CoreGraphics::CmdBufferPoolId setupTransferCommandBufferPool
Util::Array< CoreGraphics::CmdBufferIdsetupTransferCommandBuffers
Util::Array< CoreGraphics::CmdBufferIdhandoverTransferCommandBuffers
CoreGraphics::CmdBufferPoolId setupGraphicsCommandBufferPool
Util::Array< CoreGraphics::CmdBufferIdsetupGraphicsCommandBuffers
size_t globalConstantBufferMaxValue
Util::FixedArray< CoreGraphics::BufferIdglobalConstantBuffer
Util::FixedArray< bool > inflightFrames
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
bool resizing: 1
IndexT currentFrameIndex = 0

Member Function Documentation

◆ _declare_counter() [1/6]

CoreGraphics::GraphicsDeviceState::_declare_counter ( GraphicsDeviceNumComputes )

◆ _declare_counter() [2/6]

CoreGraphics::GraphicsDeviceState::_declare_counter ( GraphicsDeviceNumDrawCalls )

◆ _declare_counter() [3/6]

CoreGraphics::GraphicsDeviceState::_declare_counter ( GraphicsDeviceNumPrimitives )

◆ _declare_counter() [4/6]

CoreGraphics::GraphicsDeviceState::_declare_counter ( NumBufferBytesAllocated )

◆ _declare_counter() [5/6]

CoreGraphics::GraphicsDeviceState::_declare_counter ( NumBytesAllocated )

◆ _declare_counter() [6/6]

CoreGraphics::GraphicsDeviceState::_declare_counter ( NumImageBytesAllocated )

Member Data Documentation

◆ backBuffers

Util::Array<CoreGraphics::TextureId> CoreGraphics::GraphicsDeviceState::backBuffers

◆ currentBufferedFrameIndex

uint32_t CoreGraphics::GraphicsDeviceState::currentBufferedFrameIndex = 0

◆ currentFrameIndex

IndexT CoreGraphics::GraphicsDeviceState::currentFrameIndex = 0

◆ enableValidation

bool CoreGraphics::GraphicsDeviceState::enableValidation

◆ eventHandlers

Util::Array<Ptr<CoreGraphics::RenderEventHandler> > CoreGraphics::GraphicsDeviceState::eventHandlers

◆ frameResourceTableCompute

CoreGraphics::ResourceTableId CoreGraphics::GraphicsDeviceState::frameResourceTableCompute

◆ frameResourceTableGraphics

CoreGraphics::ResourceTableId CoreGraphics::GraphicsDeviceState::frameResourceTableGraphics

◆ globalConstantBuffer

Util::FixedArray<CoreGraphics::BufferId> CoreGraphics::GraphicsDeviceState::globalConstantBuffer

◆ globalConstantBufferMaxValue

size_t CoreGraphics::GraphicsDeviceState::globalConstantBufferMaxValue

◆ handoverTransferCommandBuffers

Util::Array<CoreGraphics::CmdBufferId> CoreGraphics::GraphicsDeviceState::handoverTransferCommandBuffers

◆ indexAllocator

Memory::RangeAllocator CoreGraphics::GraphicsDeviceState::indexAllocator

◆ indexBuffer

CoreGraphics::BufferId CoreGraphics::GraphicsDeviceState::indexBuffer

◆ inflightFrames

Util::FixedArray<bool> CoreGraphics::GraphicsDeviceState::inflightFrames

◆ inNotifyEventHandlers

bool CoreGraphics::GraphicsDeviceState::inNotifyEventHandlers

◆ isOpen

bool CoreGraphics::GraphicsDeviceState::isOpen

◆ maxNumBufferedFrames

uint CoreGraphics::GraphicsDeviceState::maxNumBufferedFrames = 1

◆ renderWireframe

bool CoreGraphics::GraphicsDeviceState::renderWireframe

◆ resizing

bool CoreGraphics::GraphicsDeviceState::resizing

◆ setupGraphicsCommandBufferPool

CoreGraphics::CmdBufferPoolId CoreGraphics::GraphicsDeviceState::setupGraphicsCommandBufferPool

◆ setupGraphicsCommandBuffers

Util::Array<CoreGraphics::CmdBufferId> CoreGraphics::GraphicsDeviceState::setupGraphicsCommandBuffers

◆ setupTransferCommandBufferPool

CoreGraphics::CmdBufferPoolId CoreGraphics::GraphicsDeviceState::setupTransferCommandBufferPool

◆ setupTransferCommandBuffers

Util::Array<CoreGraphics::CmdBufferId> CoreGraphics::GraphicsDeviceState::setupTransferCommandBuffers

◆ tickResourceTableCompute

CoreGraphics::ResourceTableId CoreGraphics::GraphicsDeviceState::tickResourceTableCompute

◆ tickResourceTableGraphics

CoreGraphics::ResourceTableId CoreGraphics::GraphicsDeviceState::tickResourceTableGraphics

◆ uploadAllocator

Memory::RangeAllocator CoreGraphics::GraphicsDeviceState::uploadAllocator

◆ vertexAllocator

Memory::RangeAllocator CoreGraphics::GraphicsDeviceState::vertexAllocator

◆ vertexBuffer

CoreGraphics::BufferId CoreGraphics::GraphicsDeviceState::vertexBuffer

◆ visualizeMipMaps

bool CoreGraphics::GraphicsDeviceState::visualizeMipMaps

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