In file include/csengine/texture.h:

## class csTextureHandle : public csObject

> csTextureHandle represents a texture and its link to the ITextureHandle as returned by ITextureManager

## Inheritance:

### Public Fields

  bool | for_2d On texture registration: register for 2D operations?
  bool | for_3d On texture registration: register for 3D operations?

### Public Methods

  | csTextureHandle (ImageFile* image)
  ImageFile* | GetImageFile () Get the ImageFile.
  ITextureHandle* | GetTextureHandle () Get the texture handle.
  void | SetTextureHandle (ITextureHandle* h) Set the texture handle.
  void | SetTransparent (int red, int green, int blue) Set the transparent color.
  virtual | ~csTextureHandle ()

### Private Fields

  ImageFile* | ifile The corresponding ImageFile.
  ITextureHandle* | txt_handle The handle as returned by ITextureManager.

### Inherited from csObject:

### Public Methods

CS_ID GetID()
csObject* GetObj(const csIdType& objtype)
virtual csObject* GetObjectParent()
void ObjAdd(csObject* obj)
csObjIterator ObjGet(const csIdType& objtype)
void ObjRelease(csObject* obj)
void ObjRemove(csObject* obj)

### Private Fields

CS_ID csid_value
csObjTree* objtree

### Private Methods

virtual void SetObjectParent(csObject* parent)

## Documentation

> csTextureHandle represents a texture and its link to the ITextureHandle as returned by ITextureManager

`ImageFile* ifile`
  The corresponding ImageFile.

`ITextureHandle* txt_handle`
  The handle as returned by ITextureManager.

`bool for_2d`
  On texture registration: register for 2D operations?

`bool for_3d`
  On texture registration: register for 3D operations?

`csTextureHandle(ImageFile* image)`

`virtual ~csTextureHandle()`

`ITextureHandle* GetTextureHandle()`
  Get the texture handle.

`void SetTextureHandle(ITextureHandle* h)`
  Set the texture handle.

`ImageFile* GetImageFile()`
  Get the ImageFile.

`void SetTransparent(int red, int green, int blue)`
  Set the transparent color.

This class has no child classes.

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de