Space Engineers
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Properties | Events | List of all members
VRageRender.ExternalApp.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 27 of file MyRenderThread.cs.

Member Function Documentation

void VRageRender.ExternalApp.MyRenderThread.DebugAddWaitingForPresent ( EventWaitHandle  handle)
inline

Definition at line 377 of file MyRenderThread.cs.

void VRageRender.ExternalApp.MyRenderThread.Exit ( )
inline

Signals the thread to exit and waits until it does so

Definition at line 160 of file MyRenderThread.cs.

void VRageRender.ExternalApp.MyRenderThread.Invoke ( Action  action)
inline

Definition at line 140 of file MyRenderThread.cs.

void VRageRender.ExternalApp.MyRenderThread.SetMouseCapture ( bool  capture)
inline

Definition at line 493 of file MyRenderThread.cs.

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

Definition at line 96 of file MyRenderThread.cs.

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

Definition at line 103 of file MyRenderThread.cs.

void VRageRender.ExternalApp.MyRenderThread.SwitchQuality ( MyRenderQualityEnum  quality)
inline

Definition at line 151 of file MyRenderThread.cs.

void VRageRender.ExternalApp.MyRenderThread.SwitchSettings ( MyRenderDeviceSettings  settings)
inline

Definition at line 145 of file MyRenderThread.cs.

void VRageRender.ExternalApp.MyRenderThread.TickSync ( )
inline

Definition at line 122 of file MyRenderThread.cs.

void VRageRender.ExternalApp.MyRenderThread.UpdateSize ( MyWindowModeEnum customMode = null)
inline

Definition at line 416 of file MyRenderThread.cs.

Member Data Documentation

readonly Thread VRageRender.ExternalApp.MyRenderThread.SystemThread

Definition at line 66 of file MyRenderThread.cs.

Property Documentation

int VRageRender.ExternalApp.MyRenderThread.CurrentAdapter
get

Definition at line 58 of file MyRenderThread.cs.

MyRenderDeviceSettings VRageRender.ExternalApp.MyRenderThread.CurrentSettings
get

Definition at line 62 of file MyRenderThread.cs.

Event Documentation

Action VRageRender.ExternalApp.MyRenderThread.BeforeDraw

Definition at line 68 of file MyRenderThread.cs.

SizeChangedHandler VRageRender.ExternalApp.MyRenderThread.SizeChanged

Definition at line 69 of file MyRenderThread.cs.


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