|
Nebula
|
#include <environmentcontext.h>
The environment context deals with anything related to the sky and atmosphere effects.
Inherits Graphics::GraphicsContext.
Static Public Member Functions | |
| static void | Create (const Graphics::GraphicsEntityId sun) |
| create context | |
| static void | OnBeforeFrame (const Graphics::FrameContext &ctx) |
| update shader server tick params per frame | |
| static void | RenderUI (const Graphics::FrameContext &ctx) |
| render IMGUI | |
| static void | SetFogColor (const Math::vec4 &fogColor) |
| set the fog color | |
| static void | SetFogDistances (const float nearFog, const float farFog) |
| set the fog distances | |
| static void | SetBloomColor (const Math::vec4 &bloomColor) |
| set the bloom color filter | |
| static void | SetBloomIntensity (const float intensity) |
| Set intensity of bloom effect. | |
| static void | SetMaxLuminance (const float maxLuminance) |
| set the maximum allowed luminance by the eye adaptation | |
| static void | SetNumEnvironmentMips (const int mips) |
| set the number of global environment mips | |
Private Member Functions | |
| __DeclarePluginContext () | |
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 |
|
static |
create context
|
static |
update shader server tick params per frame
|
static |
render IMGUI
|
static |
set the bloom color filter
|
static |
Set intensity of bloom effect.
|
static |
set the fog color
|
static |
set the fog distances
|
static |
set the maximum allowed luminance by the eye adaptation
|
static |
set the number of global environment mips