Space Engineers
Public Member Functions | Properties | List of all members
VRageRender.IMyRender Interface Reference
Inheritance diagram for VRageRender.IMyRender:
VRageRender.MyDX11Render VRageRender.MyNullRender

Public Member Functions

MyRenderDeviceSettings CreateDevice (IntPtr windowHandle, MyRenderDeviceSettings?settingsToTry)
 
void DisposeDevice ()
 
long GetAvailableTextureMemory ()
 
MyRenderDeviceCooperativeLevel TestDeviceCooperativeLevel ()
 
bool ResetDevice ()
 
void DrawBegin ()
 
void DrawEnd ()
 
bool SettingsChanged (MyRenderDeviceSettings settings)
 
void ApplySettings (MyRenderDeviceSettings settings)
 
void Present ()
 
void LoadContent (global::VRageRender.MyRenderQualityEnum quality)
 
void UnloadContent ()
 
void UnloadData ()
 
void ReloadContent (MyRenderQualityEnum quality)
 
void EnqueueMessage (MyRenderMessageBase message, bool limitMaxQueueSize)
 
void ProcessMessages ()
 
void EnqueueOutputMessage (MyRenderMessageBase message)
 
void ResetEnvironmentProbes ()
 
MyRenderProfiler GetRenderProfiler ()
 
void Draw (bool draw=true)
 
bool IsVideoValid (uint id)
 
VideoState GetVideoState (uint id)
 
void HandleFocusMessage (MyWindowFocusMessage msg)
 
void GenerateShaderCache (bool clean, OnShaderCacheProgressDelegate onShaderCacheProgress)
 

Properties

bool IsSupported [get]
 Must be possible to query during startup before render thread and window is created. More...
 
string RootDirectory [get, set]
 
string RootDirectoryEffects [get, set]
 
string RootDirectoryDebug [get, set]
 
MySharedData SharedData [get]
 
MyTimeSpan CurrentDrawTime [get, set]
 
MyLog Log [get]
 
MyViewport MainViewport [get]
 
Vector2I BackBufferResolution [get]
 
MyMessageQueue OutputQueue [get]
 
uint GlobalMessageCounter [get, set]
 

Detailed Description

Definition at line 42 of file IMyRender.cs.

Member Function Documentation

void VRageRender.IMyRender.ApplySettings ( MyRenderDeviceSettings  settings)
MyRenderDeviceSettings VRageRender.IMyRender.CreateDevice ( IntPtr  windowHandle,
MyRenderDeviceSettings settingsToTry 
)
void VRageRender.IMyRender.DisposeDevice ( )
void VRageRender.IMyRender.Draw ( bool  draw = true)
void VRageRender.IMyRender.DrawBegin ( )
void VRageRender.IMyRender.DrawEnd ( )
void VRageRender.IMyRender.EnqueueMessage ( MyRenderMessageBase  message,
bool  limitMaxQueueSize 
)
void VRageRender.IMyRender.EnqueueOutputMessage ( MyRenderMessageBase  message)
void VRageRender.IMyRender.GenerateShaderCache ( bool  clean,
OnShaderCacheProgressDelegate  onShaderCacheProgress 
)
long VRageRender.IMyRender.GetAvailableTextureMemory ( )
MyRenderProfiler VRageRender.IMyRender.GetRenderProfiler ( )
VideoState VRageRender.IMyRender.GetVideoState ( uint  id)
void VRageRender.IMyRender.HandleFocusMessage ( MyWindowFocusMessage  msg)
bool VRageRender.IMyRender.IsVideoValid ( uint  id)
void VRageRender.IMyRender.LoadContent ( global::VRageRender.MyRenderQualityEnum  quality)
void VRageRender.IMyRender.Present ( )
void VRageRender.IMyRender.ProcessMessages ( )
void VRageRender.IMyRender.ReloadContent ( MyRenderQualityEnum  quality)
bool VRageRender.IMyRender.ResetDevice ( )
void VRageRender.IMyRender.ResetEnvironmentProbes ( )
bool VRageRender.IMyRender.SettingsChanged ( MyRenderDeviceSettings  settings)
MyRenderDeviceCooperativeLevel VRageRender.IMyRender.TestDeviceCooperativeLevel ( )
void VRageRender.IMyRender.UnloadContent ( )
void VRageRender.IMyRender.UnloadData ( )

Property Documentation

Vector2I VRageRender.IMyRender.BackBufferResolution
get

Definition at line 73 of file IMyRender.cs.

MyTimeSpan VRageRender.IMyRender.CurrentDrawTime
getset

Definition at line 55 of file IMyRender.cs.

uint VRageRender.IMyRender.GlobalMessageCounter
getset

Definition at line 81 of file IMyRender.cs.

bool VRageRender.IMyRender.IsSupported
get

Must be possible to query during startup before render thread and window is created.

Definition at line 47 of file IMyRender.cs.

MyLog VRageRender.IMyRender.Log
get

Definition at line 57 of file IMyRender.cs.

MyViewport VRageRender.IMyRender.MainViewport
get

Definition at line 72 of file IMyRender.cs.

MyMessageQueue VRageRender.IMyRender.OutputQueue
get

Definition at line 80 of file IMyRender.cs.

string VRageRender.IMyRender.RootDirectory
getset

Definition at line 49 of file IMyRender.cs.

string VRageRender.IMyRender.RootDirectoryDebug
getset

Definition at line 51 of file IMyRender.cs.

string VRageRender.IMyRender.RootDirectoryEffects
getset

Definition at line 50 of file IMyRender.cs.

MySharedData VRageRender.IMyRender.SharedData
get

Definition at line 54 of file IMyRender.cs.


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