![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cDXRenderBatch.h>
Public Member Functions | |
cDXRenderBatch (void) | |
virtual | ~cDXRenderBatch (void) |
virtual const char * | get_NameCPtr () const =0 |
Render type must have a name. More... | |
virtual HRESULT | OneTimeSceneInit () |
virtual void | FinalCleanup () |
virtual void | FrameMoveAll (TIMESECF_t fElapsedTime) |
virtual void | PreRenderAll () |
virtual HRESULT | RenderAll (CCamera *pCamera) |
virtual void | UpdateD3DOffset (const cVector3f &vOffset) |
bool | isStopped () const noexcept |
void | put_Stopped (bool bStop) noexcept |
![]() | |
cDXBase (cDXDevice *pDXDev=nullptr) noexcept | |
virtual | ~cDXBase () |
ID3DDevice * | get_D3DDev () const noexcept |
bool | isInitDevice () const noexcept |
bool | isLostDevice () const noexcept |
virtual HRESULT | InitDeviceObjects (cDXDevice *pDXDev) |
virtual HRESULT | OnResetDeviceX () |
virtual HRESULT | OnLostDeviceX () |
virtual HRESULT | DeleteDeviceObjects () |
UNITTEST_FRIEND (cDXBase) | |
Additional Inherited Members | |
![]() | |
cDXDevice * | m_pDXDev |
What device is this attached to (or should be)? InitDeviceObjects() was called and DeleteDeviceObjects() was not. More... | |
cIUnkPtr< ID3DDevice > | m_pD3DDev |
A type of item/model to be rendered as a batch in a scene. Render a specific draw type of object in the scene in one batch if possible. (for speed purposes) Manage lists of objects (of a draw type) to display in the scene
Gray3D::cDXRenderBatch::cDXRenderBatch | ( | void | ) |
|
virtual |
|
inlinevirtual |
Reimplemented in GrayGUI::cXDesktopMgr.
|
inlinevirtual |
Do FrameMove on all objects of this type.
Reimplemented in GrayGUI::cXDesktopMgr.
|
pure virtual |
Render type must have a name.
Implemented in GrayGUI::cXDesktopMgr.
|
inlinenoexcept |
|
inlinevirtual |
Reimplemented in GrayGUI::cXDesktopMgr.
|
inlinevirtual |
called after everything is FrameMove()-ed but before we start any Render() calls (to set common render params for example)
|
inlinenoexcept |
|
inlinevirtual |
render all elements of this type in the scene.
Reimplemented in GrayGUI::cXDesktopMgr.
|
inlinevirtual |
Update the coordinate system for all objects of this type.