|
| MyUpdateData () |
|
void | CommitUpdateFrame () |
| Commits current frame as atomic operation and prepares new frame More...
|
|
MyUpdateFrame | GetRenderFrame (out bool isPreFrame) |
| Gets next frame for rendering, can return null in case there's nothing for rendering (no update frame submitted). When isPreFrame is true, don't handle draw messages, just process update messages and call method again. Pre frame must release messages and must be returned. Final frame is kept unmodified in queue, in case of slower update, so we can interpolate and draw frame again. More...
|
|
void | ReturnPreFrame (MyUpdateFrame frame) |
| PreFrame must be empty in this place More...
|
|
Definition at line 11 of file MyUpdateData.cs.
VRageRender.MyUpdateData.MyUpdateData |
( |
| ) |
|
|
inline |
void VRageRender.MyUpdateData.CommitUpdateFrame |
( |
| ) |
|
|
inline |
Commits current frame as atomic operation and prepares new frame
Definition at line 29 of file MyUpdateData.cs.
MyUpdateFrame VRageRender.MyUpdateData.GetRenderFrame |
( |
out bool |
isPreFrame | ) |
|
|
inline |
Gets next frame for rendering, can return null in case there's nothing for rendering (no update frame submitted). When isPreFrame is true, don't handle draw messages, just process update messages and call method again. Pre frame must release messages and must be returned. Final frame is kept unmodified in queue, in case of slower update, so we can interpolate and draw frame again.
Definition at line 46 of file MyUpdateData.cs.
void VRageRender.MyUpdateData.ReturnPreFrame |
( |
MyUpdateFrame |
frame | ) |
|
|
inline |
The documentation for this class was generated from the following file: