Space Engineers
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Properties | Events | List of all members
VRage.MyRenderThread Class Reference

Public Member Functions

void TickSync ()
 
void Invoke (Action action)
 
void SwitchSettings (MyRenderDeviceSettings settings)
 
void SwitchQuality (MyRenderQualityEnum quality)
 
void Exit ()
 Signals the thread to exit and waits until it does so More...
 
void DebugAddWaitingForPresent (EventWaitHandle handle)
 
void UpdateSize (MyWindowModeEnum?customMode=null)
 
void SetMouseCapture (bool capture)
 

Static Public Member Functions

static MyRenderThread Start (MyGameTimer timer, InitHandler initHandler, MyRenderDeviceSettings?settingsToTry, MyRenderQualityEnum renderQuality, float maxFrameRate)
 
static MyRenderThread StartSync (MyGameTimer timer, IMyRenderWindow renderWindow, MyRenderDeviceSettings?settingsToTry, MyRenderQualityEnum renderQuality, float maxFrameRate)
 

Public Attributes

readonly Thread SystemThread
 

Properties

int CurrentAdapter [get]
 
MyRenderDeviceSettings CurrentSettings [get]
 

Events

Action BeforeDraw
 
SizeChangedHandler SizeChanged
 

Detailed Description

Definition at line 31 of file MyRenderThread.cs.

Member Function Documentation

void VRage.MyRenderThread.DebugAddWaitingForPresent ( EventWaitHandle  handle)
inline

Definition at line 359 of file MyRenderThread.cs.

void VRage.MyRenderThread.Exit ( )
inline

Signals the thread to exit and waits until it does so

Definition at line 156 of file MyRenderThread.cs.

void VRage.MyRenderThread.Invoke ( Action  action)
inline

Definition at line 136 of file MyRenderThread.cs.

void VRage.MyRenderThread.SetMouseCapture ( bool  capture)
inline

Definition at line 472 of file MyRenderThread.cs.

static MyRenderThread VRage.MyRenderThread.Start ( MyGameTimer  timer,
InitHandler  initHandler,
MyRenderDeviceSettings settingsToTry,
MyRenderQualityEnum  renderQuality,
float  maxFrameRate 
)
inlinestatic

Definition at line 100 of file MyRenderThread.cs.

static MyRenderThread VRage.MyRenderThread.StartSync ( MyGameTimer  timer,
IMyRenderWindow  renderWindow,
MyRenderDeviceSettings settingsToTry,
MyRenderQualityEnum  renderQuality,
float  maxFrameRate 
)
inlinestatic

Definition at line 107 of file MyRenderThread.cs.

void VRage.MyRenderThread.SwitchQuality ( MyRenderQualityEnum  quality)
inline

Definition at line 147 of file MyRenderThread.cs.

void VRage.MyRenderThread.SwitchSettings ( MyRenderDeviceSettings  settings)
inline

Definition at line 141 of file MyRenderThread.cs.

void VRage.MyRenderThread.TickSync ( )
inline

Definition at line 122 of file MyRenderThread.cs.

void VRage.MyRenderThread.UpdateSize ( MyWindowModeEnum customMode = null)
inline

Definition at line 398 of file MyRenderThread.cs.

Member Data Documentation

readonly Thread VRage.MyRenderThread.SystemThread

Definition at line 70 of file MyRenderThread.cs.

Property Documentation

int VRage.MyRenderThread.CurrentAdapter
get

Definition at line 62 of file MyRenderThread.cs.

MyRenderDeviceSettings VRage.MyRenderThread.CurrentSettings
get

Definition at line 66 of file MyRenderThread.cs.

Event Documentation

Action VRage.MyRenderThread.BeforeDraw

Definition at line 72 of file MyRenderThread.cs.

SizeChangedHandler VRage.MyRenderThread.SizeChanged

Definition at line 73 of file MyRenderThread.cs.


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