GFXTexHandle Class Reference

#include <gfxTextureHandle.h>

Inheritance diagram for GFXTexHandle:

Inheritance graph
[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.
GFXLockedRectlock (U32 mipLevel=0, RectI *inRect=NULL)
void unlock (U32 mipLevel=0)
bool copyToBmp (GBitmap *bmp)
bool readBackBuffer (Point2I &upperLeft)
GFXTexHandleoperator= (const GFXTexHandle &t)
GFXTexHandleoperator= (GFXTextureObject *to)
bool operator== (const GFXTexHandle &t) const
bool operator!= (const GFXTexHandle &t) const
 operator GFXTextureObject * ()
GBitmapgetBitmap ()
const GBitmapgetBitmap () const

Constructor & Destructor Documentation

GFXTexHandle::GFXTexHandle (  )  [inline]

GFXTexHandle::GFXTexHandle ( GFXTextureObject obj  ) 

GFXTexHandle::GFXTexHandle ( const GFXTexHandle handle,
String  desc 
)

GFXTexHandle::GFXTexHandle ( const String texName,
GFXTextureProfile profile,
String  desc 
)

GFXTexHandle::GFXTexHandle ( GBitmap bmp,
GFXTextureProfile profile,
bool  deleteBmp,
String  desc 
)

GFXTexHandle::GFXTexHandle ( DDSFile bmp,
GFXTextureProfile profile,
bool  deleteDDS,
String  desc 
)

GFXTexHandle::GFXTexHandle ( U32  width,
U32  height,
GFXFormat  format,
GFXTextureProfile profile,
String  desc,
U32  numMipLevels = 1,
S32  antialiasLevel = 0 
)


Member Function Documentation

bool GFXTexHandle::set ( const String texName,
GFXTextureProfile profile,
String  desc 
)

bool GFXTexHandle::set ( GBitmap bmp,
GFXTextureProfile profile,
bool  deleteBmp,
String  desc 
)

bool GFXTexHandle::set ( DDSFile bmp,
GFXTextureProfile profile,
bool  deleteDDS,
String  desc 
)

bool GFXTexHandle::set ( U32  width,
U32  height,
GFXFormat  format,
GFXTextureProfile profile,
String  desc,
U32  numMipLevels = 1,
S32  antialiasLevel = 0 
)

bool GFXTexHandle::set ( U32  width,
U32  height,
U32  depth,
void pixels,
GFXFormat  format,
GFXTextureProfile profile,
String  desc,
U32  numMipLevels = 1 
)

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.

GFXLockedRect* GFXTexHandle::lock ( U32  mipLevel = 0,
RectI inRect = NULL 
) [inline]

void GFXTexHandle::unlock ( U32  mipLevel = 0  )  [inline]

bool GFXTexHandle::copyToBmp ( GBitmap bmp  )  [inline]

bool GFXTexHandle::readBackBuffer ( Point2I upperLeft  )  [inline]

GFXTexHandle& GFXTexHandle::operator= ( const GFXTexHandle t  )  [inline]

GFXTexHandle& GFXTexHandle::operator= ( GFXTextureObject to  )  [inline]

Reimplemented from StrongRefPtr< GFXTextureObject >.

bool GFXTexHandle::operator== ( const GFXTexHandle t  )  const [inline]

bool GFXTexHandle::operator!= ( const GFXTexHandle t  )  const [inline]

GFXTexHandle::operator GFXTextureObject * (  )  [inline]

GBitmap* GFXTexHandle::getBitmap (  ) 

const GBitmap* GFXTexHandle::getBitmap (  )  const