XLE  v0.02.0
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
GUILayer::EngineDevice Class Reference

CLI layer to represent a rendering device More...

#include <EngineDevice.h>

Public Member Functions

NativeEngineDeviceGetNative ()
 
RenderCore::IThreadContextGetNativeImmediateContext ()
 
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
 

Detailed Description

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.


The documentation for this class was generated from the following files: