00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Mark Alexander 00008 * Side Effects 00009 * 123 Front Street West, Suite 1401 00010 * Toronto, Ontario 00011 * Canada M5J 2M2 00012 * 416-504-9876 00013 * 00014 * NAME: RE_OGLTexture2D.h ( RE Library, C++) 00015 * 00016 * COMMENTS: 00017 * Simple 2D texture. 00018 */ 00019 #ifndef RE_OGLTexture2D_h 00020 #define RE_OGLTexture2D_h 00021 00022 #include "RE_OGLTextureBase2D.h" 00023 00024 class RE_OGLTexture2D : public RE_OGLTextureBase2D 00025 { 00026 public: 00027 RE_OGLTexture2D(); 00028 virtual ~RE_OGLTexture2D(); 00029 00030 virtual const char *className() const { return "RE_OGLTexture2D"; } 00031 00032 virtual RE_TextureDimension getTextureType() const { return RE_TEXTURE_2D; } 00033 virtual int getMaxTextureSize(RE_Render *r); 00034 00035 protected: 00036 virtual int getGLType() const; 00037 virtual int getGLTypeBinding() const; 00038 }; 00039 00040 #endif
1.5.9