|
Nebula
|
Go to the source code of this file.
Classes | |
| struct | Graphics::GlobalConstantsCreateInfo |
Namespaces | |
| namespace | Graphics |
| Implements the shader server used by Vulkan. | |
Enumerations | |
| enum class | Graphics::GlobalTables { Graphics::GraphicsQueue , Graphics::ComputeQueue , Graphics::NumQueues } |
Functions | |
| void | Graphics::CreateGlobalConstants (const GlobalConstantsCreateInfo &info) |
| Create global constants. | |
| void | Graphics::DestroyGlobalConstants () |
| Destroy global constants. | |
| void | Graphics::AllocateGlobalConstants () |
| Run when starting frame. | |
| void | Graphics::UpdateTickParams (const Shared::PerTickParams::STRUCT &tickParams) |
| Set tick params. | |
| void | Graphics::UpdateViewConstants (const Shared::ViewConstants::STRUCT &viewConstants) |
| Set view params. | |
| void | Graphics::UpdateShadowConstants (const Shared::ShadowViewConstants::STRUCT &shadowViewConstants) |
| Set camera params. | |
| void | Graphics::FlushUpdates (const CoreGraphics::CmdBufferId buf, const CoreGraphics::QueueType queue) |
| Flush constants by recording update command to command buffer. | |
| void | Graphics::GetOffsets (uint64_t &tickOffset, uint64_t &viewOffset, uint64_t &shadowOffset, const GlobalTables table) |
| Get frame constant offsets. | |
| const Shared::PerTickParams::STRUCT & | Graphics::GetTickParams () |
| Get tick params constant buffer. | |
| void | Graphics::SetGlobalEnvironmentTextures (const CoreGraphics::TextureId &env, const CoreGraphics::TextureId &irr, const SizeT numMips) |
| Set global irradiance and cubemaps. | |
| void | Graphics::SetupBufferConstants () |
| Setup gbuffer bindings. | |
| const CoreGraphics::ResourceTableId | Graphics::GetFrameResourceTable (uint32_t bufferIndex, GlobalTables table) |
| Get per-tick resource table for queue. | |
| const std::array< CoreGraphics::ResourceTableId,(uint) GlobalTables::NumQueues > | Graphics::GetFrameResourceTables (uint32_t bufferIndex) |
| Get per-tick resource tables for all queues. | |
| const CoreGraphics::ResourceTableId | Graphics::GetTickResourceTable (uint32_t bufferIndex, GlobalTables table) |
| Get per-tick resource table for queue. | |
| const std::array< CoreGraphics::ResourceTableId,(uint) GlobalTables::NumQueues > | Graphics::GetTickResourceTables (uint32_t bufferIndex) |
| Get per-tick resource table for all queues. | |
| const std::array< CoreGraphics::QueueType,(uint) GlobalTables::NumQueues > | Graphics::GetTableQueues () |
| Get the different per-queue resource tables. | |