|
Nebula
|
#include <ddgicontext.h>
Inherits Graphics::GraphicsContext.
Classes | |
| struct | Volume |
| struct | VolumeSetup |
Private Types | |
| typedef Ids::IdAllocator< Volume > | DDGIVolumeAllocator |
Private Member Functions | |
| __DeclareContext() public | ~DDGIContext () |
| Destructor. | |
Static Private Member Functions | |
| static void | Create () |
| setup light context | |
| static void | Discard () |
| discard light context | |
| static void | SetupVolume (const Graphics::GraphicsEntityId id, const VolumeSetup &setup) |
| Create volume. | |
| static void | SetPosition (const Graphics::GraphicsEntityId id, const Math::vec3 &position) |
| Set volume position. | |
| static void | SetSize (const Graphics::GraphicsEntityId id, const Math::vec3 &size) |
| Set volume scale. | |
| static void | UpdateActiveVolumes (const Ptr< Graphics::View > &view, const Graphics::FrameContext &ctx) |
| prepare light lists | |
| static void | OnRenderDebug (uint32_t flags) |
| static Graphics::ContextEntityId | Alloc () |
| allocate a new slice for this context | |
| static void | Dealloc (Graphics::ContextEntityId id) |
| deallocate a slice | |
Static Private Attributes | |
| static DDGIVolumeAllocator | ddgiVolumeAllocator |
Additional Inherited Members | |
Public Member Functions inherited from Graphics::GraphicsContext | |
| GraphicsContext () | |
| constructor | |
| virtual | ~GraphicsContext () |
| destructor | |
Static Protected Member Functions inherited from Graphics::GraphicsContext | |
| static void | InternalRegisterEntity (const Graphics::GraphicsEntityId id, Graphics::GraphicsContextState &&state) |
| static void | InternalDeregisterEntity (const Graphics::GraphicsEntityId id, Graphics::GraphicsContextState &&state) |
| template<class ID_ALLOCATOR> | |
| static void | InternalDefragment (ID_ALLOCATOR &allocator, Graphics::GraphicsContextState &&state) |
|
private |
|
private |
Destructor.
|
staticprivate |
allocate a new slice for this context
|
staticprivate |
setup light context
|
staticprivate |
deallocate a slice
|
staticprivate |
discard light context
|
staticprivate |
|
staticprivate |
Set volume position.
|
staticprivate |
Set volume scale.
|
staticprivate |
Create volume.
|
staticprivate |
prepare light lists
|
staticprivate |