CrossFramework Library

XG3D/TexBuffer.hpp

説明を見る。
00001 
00006 #if defined(XG3D_INCLUDED_TEXBUFFER_HPP)
00007 #else
00008 #define XG3D_INCLUDED_TEXBUFFER_HPP
00009 
00010 //------------------------------------------------------------
00011 #include <XBase/IAllocator.hpp>
00012 #include <XBase/NonCopyable.hpp>
00013 #include <XG3D/BuiltInTypes.hpp>
00014 #include <XG3D/Engine.hpp>
00015 #include <XG3D/TexResData.hpp>
00016 
00017 #if defined(XG3D_ENGINE_GLSERIES)
00018     #include <XG3D/TexBuffer_GL.hpp>
00019 #endif
00020 
00021 //------------------------------------------------------------
00022 namespace XG3D {
00023     class ITexRes;
00024     class TexSetting;
00025 }
00026 
00027 //------------------------------------------------------------
00028 namespace XG3D {
00030 
00031 
00036     class TexBuffer : public ::XBase::NonCopyable
00037     {
00038     public:
00040 
00041 
00042         TexBuffer( const ITexRes& aTexRes );
00043 
00045         ~TexBuffer();
00047 
00049 
00050         uint imageWidth()const;  
00051         uint imageHeight()const; 
00052 
00053         
00054         // 内部実装用関数群。
00055         const TexBuffer_EXT& ext_()const;
00056         TexBuffer_EXT& ext_();
00057 
00058     private:
00059         TexBuffer_EXT mEXT;
00060         TexResData mResData;
00061     };
00063 }
00064 //------------------------------------------------------------
00065 #endif
00066 // EOF
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義