Class RenderContext
Links to rendering configuration without owning it. More...
#include <Context.h>
Public Functions
| Type | Name |
|---|---|
| RenderConfigs * | GetConfig () const Returns pointer to render configuration. |
| void | UseConfig (RenderConfigs * _config) |
Detailed Description
RenderContext provides access to RenderConfigs via non-owning pointer. This allows Renderer to read settings without coupling to config ownership.
Note:
Ownership: RenderConfigs is owned externally (Editor or Application)
Public Functions Documentation
function GetConfig
Returns pointer to render configuration.
inline RenderConfigs * RenderContext::GetConfig () const
Returns:
Non-owning pointer to RenderConfigs
function UseConfig
inline void RenderContext::UseConfig (
RenderConfigs * _config
)
The documentation for this class was generated from the following file src/editor/Context.h