|
Nebula
|
Namespaces | |
| namespace | Graphics |
| Implements the shader server used by Vulkan. | |
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) |
| Get frame constant offsets. | |
| const Shared::PerTickParams::STRUCT & | Graphics::GetTickParams () |
| Get tick params constant buffer. | |
| const Shared::ViewConstants::STRUCT & | Graphics::GetViewConstants () |
| Get current view constants. | |
| const Shared::ShadowViewConstants::STRUCT & | Graphics::GetShadowViewConstants () |
| Get current shadow view constnats. | |
| 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) |
| Get per-tick resource table for graphics. | |
| const CoreGraphics::ResourceTableId | Graphics::GetTickResourceTable (uint32_t bufferIndex) |
| Get per-tick resource table for graphics. | |
Variables | ||
| struct { | ||
| Util::FixedArray< CoreGraphics::ResourceTableId > Graphics::frameResourceTables | ||
| Util::FixedArray< CoreGraphics::ResourceTableId > Graphics::tickResourceTables | ||
| CoreGraphics::ResourcePipelineId Graphics::tableLayout | ||
| Shared::PerTickParams::STRUCT Graphics::tickParams | ||
| union DirtySet { | ||
| struct { | ||
| bool Graphics::graphicsDirty: 1 | ||
| bool Graphics::computeDirty: 1 | ||
| } | ||
| int Graphics::bits | ||
| } | ||
| DirtySet Graphics::tickParamsDirty | ||
| uint64_t Graphics::tickCboOffset | ||
| uint64_t Graphics::viewCboOffset | ||
| uint64_t Graphics::shadowViewCboOffset | ||
| Shared::ViewConstants::STRUCT Graphics::viewConstants | ||
| Shared::ShadowViewConstants::STRUCT Graphics::shadowViewConstants | ||
| DirtySet Graphics::viewConstantsDirty | ||
| DirtySet Graphics::shadowViewConstantsDirty | ||
| } | Graphics::globalConstantState | |