CrossFramework Library

XG3D/ResMdlMesh.hpp

00001 /*
00002  * @file
00003  * @brief ResMdlMesh型を記述する。
00004  * @author akino
00005  */
00006 #if defined(XG3D_INCLUDED_RESMDLMESH_HPP)
00007 #else
00008 #define XG3D_INCLUDED_RESMDLMESH_HPP
00009 
00010 //------------------------------------------------------------
00011 #include <XBase/Pointer.hpp>
00012 #include <XG3D/BuiltInTypes.hpp>
00013 #include <XG3D/ResMdlSubMesh.hpp>
00014 
00015 //------------------------------------------------------------
00016 namespace XG3D {
00017     class ResMdlMeshImpl;
00018 }
00019 
00020 //------------------------------------------------------------
00021 namespace XG3D {
00023 
00024 
00029     class ResMdlMesh
00030     {
00031     public:
00033 
00034 
00035         ResMdlMesh();
00036 
00038         ResMdlMesh( const ResMdlMeshImpl& aImpl );
00040         
00042 
00043         bool isValid()const; 
00044         bool equals( const ResMdlMesh& aRHS )const; 
00045         bool operator==( const ResMdlMesh& aRHS )const; 
00046 
00047 
00049 
00050         uint            index()const;                   
00051         const char*     name()const;                    
00052         uint            subMeshCount()const;            
00053         ResMdlSubMesh   subMesh( uint aIndex )const;    
00054 
00055 
00056     private:
00057         ::XBase::Pointer< const ResMdlMeshImpl > mPtr;
00058         //------------------------------------------------------------
00059         bool checkInvalid()const;
00060     };
00062 }
00063 //------------------------------------------------------------
00064 #endif
00065 // EOF
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義