XLE
v0.02.0
|
CLI layer to represent a rendering device More...
#include <EngineDevice.h>
Public Member Functions | |
NativeEngineDevice & | GetNative () |
RenderCore::IThreadContext * | GetNativeImmediateContext () |
void | ForegroundUpdate () |
void | AttachDefaultCompilers () |
Static Public Member Functions | |
static EngineDevice | GetInstance () |
static void | SetDefaultWorkingDirectory () |
Protected Attributes | |
clix::auto_ptr< NativeEngineDevice > | _pimpl |
Static Protected Attributes | |
static EngineDevice | s_instance |
CLI layer to represent a rendering device
This class manages the construction/destruction and access of some global engine resources.
It must be a managed classed, so that it can be accessed from a C# layer. We generally want to avoid putting a lot of functionality in "ref class" CLI objects – but we do need them to provide interfaces that can be used from GUI elements. This creates a kind of balancing act between what should go in "ref class" objects and plain native objects.