mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 07:34:45 +00:00
commit
908be4818f
112 changed files with 2645 additions and 680 deletions
|
|
@ -302,6 +302,7 @@ protected:
|
|||
/// This will allow querying to see if a device is initialized and ready to
|
||||
/// have operations performed on it.
|
||||
bool mInitialized;
|
||||
bool mReset;
|
||||
|
||||
/// This is called before this, or any other device, is deleted in the global destroy()
|
||||
/// method. It allows the device to clean up anything while everything is still valid.
|
||||
|
|
@ -326,6 +327,10 @@ public:
|
|||
/// @see endScene
|
||||
bool canCurrentlyRender() const { return mCanCurrentlyRender; }
|
||||
|
||||
bool recentlyReset(){ return mReset; }
|
||||
void beginReset(){ mReset = true; }
|
||||
void finalizeReset(){ mReset = false; }
|
||||
|
||||
void setAllowRender( bool render ) { mAllowRender = render; }
|
||||
|
||||
inline bool allowRender() const { return mAllowRender; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue