"L. Spiro Engine"
|
00001 00017 #ifndef __LSG_FLOATTEXTURE_H__ 00018 #define __LSG_FLOATTEXTURE_H__ 00019 00020 #include "../LSGGraphicsLib.h" 00021 #ifdef LSG_DX9 00022 #include "../DirectX/LSGDirectX9FloatTexture.h" 00023 #endif // #ifdef LSG_DX9 00024 #ifdef LSG_DX10 00025 #include "../DirectX/LSGDirectX10FloatTexture.h" 00026 #endif // #ifdef LSG_DX10 00027 #ifdef LSG_DX11 00028 #include "../DirectX/LSGDirectX11FloatTexture.h" 00029 #endif // #ifdef LSG_DX11 00030 #ifdef LSG_OGLES 00031 #include "../OpenGLES/LSGOpenGlEsFloatTexture.h" 00032 #endif // #ifdef LSG_OGLES 00033 #ifdef LSG_OGL 00034 #include "../OpenGL/LSGOpenGlFloatTexture.h" 00035 #endif // #ifdef LSG_OGL 00036 #include "../Texture/LSGTextureBase.h" 00037 00038 namespace lsg { 00039 00047 class CFloatTexture : public 00048 #ifdef LSG_DX9 00049 CDirectX9FloatTexture 00050 #endif // #ifdef LSG_DX9 00051 #ifdef LSG_DX10 00052 CDirectX10FloatTexture 00053 #endif // #ifdef LSG_DX10 00054 #ifdef LSG_DX11 00055 CDirectX11FloatTexture 00056 #endif // #ifdef LSG_DX11 00057 #ifdef LSG_OGL 00058 COpenGlFloatTexture 00059 #endif // #ifdef LSG_OGL 00060 #ifdef LSG_OGLES 00061 COpenGlEsFloatTexture 00062 #endif // #ifdef LSG_OGLES 00063 { 00064 public : 00065 // == Various constructors. 00066 LSE_CALLCTOR CFloatTexture(); 00067 LSE_CALLCTOR ~CFloatTexture(); 00068 00069 00070 // == Functions. 00080 LSBOOL LSE_CALL CreateFloatingPointTexture( LSUINT32 _ui32Width, LSUINT32 _ui32Height ); 00081 00082 00083 protected : 00084 // == Members. 00085 00086 00087 private : 00088 #ifdef LSG_DX9 00089 typedef CDirectX9FloatTexture Parent; 00090 #endif // #ifdef LSG_DX9 00091 #ifdef LSG_DX10 00092 typedef CDirectX10FloatTexture Parent; 00093 #endif // #ifdef LSG_DX10 00094 #ifdef LSG_DX11 00095 typedef CDirectX11FloatTexture Parent; 00096 #endif // #ifdef LSG_DX11 00097 #ifdef LSG_OGL 00098 typedef COpenGlFloatTexture Parent; 00099 #endif // #ifdef LSG_OGL 00100 #ifdef LSG_OGLES 00101 typedef COpenGlEsFloatTexture Parent; 00102 #endif // #ifdef LSG_OGLES 00103 }; 00104 00105 00106 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00107 // DEFINITIONS 00108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 00109 00110 00111 } // namespace lsg 00112 00113 #endif // __LSG_FLOATTEXTURE_H__