nux-1.14.0
|
Public Member Functions | |
IOpenGLBaseTexture (OpenGLResourceType ResourceType, t_u32 Width, t_u32 Height, t_u32 Depth, t_u32 NumMipLevel, BitmapFormat PixelFormat, NUX_FILE_LINE_PROTO) | |
BitmapFormat | GetPixelFormat () const |
t_s32 | GetNumMipLevel () const |
bool | IsPowerOfTwo () const |
t_s32 | GetWidth () const |
t_s32 | GetHeight () const |
t_s32 | GetDepth () const |
int | GetFormatRowMemoryAlignment () const |
void | SetRenderStates () |
void | SetFiltering (t_u32 MIN=GL_NEAREST, t_u32 MAG=GL_NEAREST) |
void | SetWrap (t_u32 U=GL_REPEAT, t_u32 V=GL_REPEAT, t_u32 W=GL_REPEAT) |
void | SetLOD (float MinLod=-1000.0f, float MaxLod=+1000.0f) |
void | SetMipLevel (t_u32 MinMip=0, t_u32 MaxMip=1000) |
void | SetBorderColor (float R, float G, float B, float A) |
int | BindTexture () |
int | BindTextureToUnit (int TextureUnitIndex) |
virtual void | GetSurfaceLevel (int Level, ObjectPtr< IOpenGLSurface > &surface) |
virtual ObjectPtr< IOpenGLSurface > | GetSurfaceLevel (int Level) |
virtual int | LockRect (int Level, SURFACE_LOCKED_RECT *pLockedRect, const SURFACE_RECT *pRect) |
virtual int | UnlockRect (int Level) |
virtual void * | GetSurfaceData (int level, int &width, int &height, int &format) |
Return the a pointer to the texture mip level data. | |
Protected Attributes | |
GLTextureStates | _TextureStates |
bool | _IsPOT |
t_s32 | _NumMipLevel |
BitmapFormat | _PixelFormat |
t_s32 | _Width |
t_s32 | _Height |
int | _Depth |
int | _RowMemoryAlignment |
Friends | |
class | IOpenGLSurface |
class | IOpenGLVolume |
void | GetTextureDesc (IOpenGLBaseTexture *pTexture, t_u32 Level, TEXTURE_DESC *pDesc) |
t_s32 | GetTextureSize (IOpenGLBaseTexture *pTexture) |
Definition at line 40 of file IOpenGLBaseTexture.h.