GraphicsContext
Description
- Derived from
-
Disposable abstract
IGraphicsContext - Extended by
-
DirectX11Context sealed
DirectX12Context sealed
DirectX9Context
OpenGLContext sealed
OpenGLESContext sealed
Abstract base class for IGraphicsContext implementations.
These protected fields must be initialized by subclasses in the constructor:
Public / Methods
CheckDebugEnableLogOutput
Checks if debug log-output shall be enabled, according to DebugEnableLogOutput.
Public / Attributes
DebugEnableLogOutput
Enable additional debug-level log output?
This switch must be set before TinmanModule.Initialize is called:
< 0
: disable debug-level log output
= 0
: use LowLevel.IsDebug to toggle debug-level log output
> 0
: enable debug-level log output
Defaults to 0
.
Protected / Constructors
GraphicsContext
Creates a new instance of GraphicsContext.
The constructor of a concrete IGraphicsContext implementation must call IGraphicsContext.RegisterRenderEffectFactory once, in order to provide the factory for the built-in render effects.
Protected / Attributes
currentRenderTargets
The current set of render targets that has been specified via IGraphicsContext.SetRenderTarget.