GFXTexHandle Class Reference#include <gfxTextureHandle.h>
Inheritance diagram for GFXTexHandle:
[legend]List of all members.
|
Public Member Functions |
| GFXTexHandle () |
| GFXTexHandle (GFXTextureObject *obj) |
| GFXTexHandle (const GFXTexHandle &handle, String desc) |
| GFXTexHandle (const String &texName, GFXTextureProfile *profile, String desc) |
bool | set (const String &texName, GFXTextureProfile *profile, String desc) |
| GFXTexHandle (GBitmap *bmp, GFXTextureProfile *profile, bool deleteBmp, String desc) |
bool | set (GBitmap *bmp, GFXTextureProfile *profile, bool deleteBmp, String desc) |
| GFXTexHandle (DDSFile *bmp, GFXTextureProfile *profile, bool deleteDDS, String desc) |
bool | set (DDSFile *bmp, GFXTextureProfile *profile, bool deleteDDS, String desc) |
| GFXTexHandle (U32 width, U32 height, GFXFormat format, GFXTextureProfile *profile, String desc, U32 numMipLevels=1, S32 antialiasLevel=0) |
bool | set (U32 width, U32 height, GFXFormat format, GFXTextureProfile *profile, String desc, U32 numMipLevels=1, S32 antialiasLevel=0) |
bool | set (U32 width, U32 height, U32 depth, void *pixels, GFXFormat format, GFXTextureProfile *profile, String desc, U32 numMipLevels=1) |
U32 | getWidth () |
U32 | getHeight () |
U32 | getDepth () |
void | refresh () |
void | free () |
| Release any resources attached to this object.
|
GFXLockedRect * | lock (U32 mipLevel=0, RectI *inRect=NULL) |
void | unlock (U32 mipLevel=0) |
bool | copyToBmp (GBitmap *bmp) |
bool | readBackBuffer (Point2I &upperLeft) |
GFXTexHandle & | operator= (const GFXTexHandle &t) |
GFXTexHandle & | operator= (GFXTextureObject *to) |
bool | operator== (const GFXTexHandle &t) const |
bool | operator!= (const GFXTexHandle &t) const |
| operator GFXTextureObject * () |
GBitmap * | getBitmap () |
const GBitmap * | getBitmap () const |
Constructor & Destructor Documentation
GFXTexHandle::GFXTexHandle |
( |
|
) |
[inline] |
Member Function Documentation
U32 GFXTexHandle::getWidth |
( |
|
) |
[inline] |
U32 GFXTexHandle::getHeight |
( |
|
) |
[inline] |
U32 GFXTexHandle::getDepth |
( |
|
) |
[inline] |
void GFXTexHandle::refresh |
( |
|
) |
|
void GFXTexHandle::free |
( |
|
) |
|
Release any resources attached to this object.
void GFXTexHandle::unlock |
( |
U32 |
mipLevel = 0 |
) |
[inline] |
bool GFXTexHandle::copyToBmp |
( |
GBitmap * |
bmp |
) |
[inline] |
bool GFXTexHandle::readBackBuffer |
( |
Point2I & |
upperLeft |
) |
[inline] |
GBitmap* GFXTexHandle::getBitmap |
( |
|
) |
|
const GBitmap* GFXTexHandle::getBitmap |
( |
|
) |
const |
|