![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cModel3DS.h>
Public Member Functions | |
| cModel3DS (const FILECHAR_t *pszFileName) | |
| ~cModel3DS () | |
| HRESULT | LoadFile (const FILECHAR_t *pszFileName) |
| UNITTEST_FRIEND (cModel3DS) | |
Public Member Functions inherited from Gray3D::cXResourceFile | |
| cXResourceFile (const FILECHAR_t *pszFileName) | |
| virtual | ~cXResourceFile () |
| cStringF | get_FilePath () const |
| void | put_FilePath (const FILECHAR_t *pszFileName) |
| STDMETHOD_ (cString, get_Name)() const | |
| cStringF | get_FullPath () const |
| cStringF | MakePeerPath (const FILECHAR_t *pszName) const |
| virtual bool | isResourceLoaded () const noexcept |
| void | put_LoadedState (HRESULT hResLoad) |
| virtual HRESULT | LoadResource () |
Public Member Functions inherited from Gray::cRefBase | |
| cRefBase (int iRefCount=0) noexcept | |
| virtual | ~cRefBase () |
| int | get_RefCount () const noexcept |
| HASHCODE_t | get_HashCode () const noexcept |
| STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept | |
| virtual void | onFinalRelease () |
| bool | isValidObj () const noexcept |
| STDMETHOD_ (ULONG, AddRef)(void) override | |
| STDMETHOD_ (ULONG, Release)(void) override | |
| STDMETHOD() | QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override |
| void | IncRefCount () |
| void | DecRefCount () |
| bool | isStaticConstruct () const noexcept |
| void | StaticConstruct () |
| void | StaticDestruct () |
| bool | isDestructing () noexcept |
| void | SetDestructing () |
Public Attributes | |
| cArrayRef< cModel3DSMaterialInfo > | m_aMaterials |
| The list of material information (Textures and colors) More... | |
| cArrayRef< cModel3DSObject > | m_aObjects |
| The object/mesh list for our model. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gray3D::cXResourceFile | |
| static HRESULT GRAYCALL | OnFAIL (HRESULT hRes) |
| static. so we can trap all errors here. More... | |
Protected Attributes inherited from Gray3D::cXResourceFile | |
| HRESULT | m_hResLoad |
| 0=loaded OK, <0 = it failed to load for some reason! OLE_E_BLANK = have not yet tried to load. More... | |
Static Protected Attributes inherited from Gray3D::cXResourceFile | |
| static cStringF | s_sFileLoading |
| name of file loading for debug. More... | |
simple 3d Model in the .3DS format. This holds all the information for our SIMPLE model/scene. Not extensible, doesn't have hierarchy, doesn't have child transforms. like .X format does.
| Gray3D::cModel3DS::cModel3DS | ( | const FILECHAR_t * | pszFileName | ) |
| Gray3D::cModel3DS::~cModel3DS | ( | ) |
| HRESULT Gray3D::cModel3DS::LoadFile | ( | const FILECHAR_t * | pszFileName | ) |
| Gray3D::cModel3DS::UNITTEST_FRIEND | ( | cModel3DS | ) |
| cArrayRef<cModel3DSMaterialInfo> Gray3D::cModel3DS::m_aMaterials |
The list of material information (Textures and colors)
| cArrayRef<cModel3DSObject> Gray3D::cModel3DS::m_aObjects |
The object/mesh list for our model.