Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
VRageRender.MySharedData Class Reference

Data shared between render and update More...

Public Member Functions

void BeforeUpdate ()
 Refresh data from render (visible objects, render messages) More...
 
void AfterUpdate (MyTimeSpan?updateTimestamp)
 
void BeforeRender (MyTimeSpan?currentDrawTime)
 
MyUpdateFrame GetRenderFrame (out bool isPreFrame)
 
void ReturnPreFrame (MyUpdateFrame frame)
 
void AfterRender ()
 
void CommitBasicRenderMessages ()
 

Public Attributes

MyQueue< MyRenderMessageBaseMessagesForNextFrame = new MyQueue<MyRenderMessageBase>(128)
 

Properties

MySwapQueue< MyBillboardBatch< MyBillboard > > Billboards [get]
 
MySwapQueue< MyBillboardBatch< MyTriangleBillboard > > TriangleBillboards [get]
 
MySwapQueue< HashSet< uint > > VisibleObjects [get]
 
MyUpdateFrame CurrentUpdateFrame [get]
 
MyMessageQueue RenderOutputMessageQueue [get]
 

Detailed Description

Data shared between render and update

Definition at line 15 of file MySharedData.cs.

Member Function Documentation

void VRageRender.MySharedData.AfterRender ( )
inline

Definition at line 108 of file MySharedData.cs.

void VRageRender.MySharedData.AfterUpdate ( MyTimeSpan updateTimestamp)
inline

Definition at line 65 of file MySharedData.cs.

void VRageRender.MySharedData.BeforeRender ( MyTimeSpan currentDrawTime)
inline

Definition at line 80 of file MySharedData.cs.

void VRageRender.MySharedData.BeforeUpdate ( )
inline

Refresh data from render (visible objects, render messages)

Definition at line 54 of file MySharedData.cs.

void VRageRender.MySharedData.CommitBasicRenderMessages ( )
inline

Definition at line 117 of file MySharedData.cs.

MyUpdateFrame VRageRender.MySharedData.GetRenderFrame ( out bool  isPreFrame)
inline

Definition at line 89 of file MySharedData.cs.

void VRageRender.MySharedData.ReturnPreFrame ( MyUpdateFrame  frame)
inline

Definition at line 103 of file MySharedData.cs.

Member Data Documentation

MyQueue<MyRenderMessageBase> VRageRender.MySharedData.MessagesForNextFrame = new MyQueue<MyRenderMessageBase>(128)

Definition at line 43 of file MySharedData.cs.

Property Documentation

MySwapQueue<MyBillboardBatch<MyBillboard> > VRageRender.MySharedData.Billboards
get

Definition at line 29 of file MySharedData.cs.

MyUpdateFrame VRageRender.MySharedData.CurrentUpdateFrame
get

Definition at line 39 of file MySharedData.cs.

MyMessageQueue VRageRender.MySharedData.RenderOutputMessageQueue
get

Definition at line 47 of file MySharedData.cs.

MySwapQueue<MyBillboardBatch<MyTriangleBillboard> > VRageRender.MySharedData.TriangleBillboards
get

Definition at line 32 of file MySharedData.cs.

MySwapQueue<HashSet<uint> > VRageRender.MySharedData.VisibleObjects
get

Definition at line 35 of file MySharedData.cs.


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