csProcTexture::eiTextureWrapper Struct Reference
Inheritance diagram for csProcTexture::eiTextureWrapper:

Public Member Functions | |
virtual iTextureWrapper * | Clone () const |
Create a clone this texture wrapper, using the same texture handle. | |
virtual int | GetFlags () const |
Return the flags which are used to register the texture. | |
virtual iImage * | GetImageFile () |
Get the iImage. | |
virtual void | GetKeyColor (int &red, int &green, int &blue) const |
Query the transparent color. | |
virtual const char * | GetTextureClass () |
Get the "class" of this texture. | |
virtual iTextureHandle * | GetTextureHandle () |
Get the texture handle. | |
virtual iTextureCallback * | GetUseCallback () const |
Get the use callback. | |
virtual bool | IsVisitRequired () const |
Return true if it is needed to call Visit(). | |
virtual bool | KeepImage () const |
If this flag is true then the image will be kept even after calling Register. | |
virtual iObject * | QueryObject () |
Get the iObject for this texture. | |
virtual void | Register (iTextureManager *txtmng) |
Register the texture with the texture manager. | |
virtual void | SetFlags (int flags) |
Set the flags which are used to register the texture. | |
virtual void | SetImageFile (iImage *Image) |
Change the base iImage. | |
virtual void | SetKeepImage (bool k) |
Set the keep image flag. | |
virtual void | SetKeyColor (int red, int green, int blue) |
Set the transparent color. | |
virtual void | SetTextureClass (const char *className) |
Set the "class" of this texture. | |
virtual void | SetTextureHandle (iTextureHandle *tex) |
Change the texture handle. | |
virtual void | SetUseCallback (iTextureCallback *callback) |
Set a callback which is called just before the texture is used. | |
virtual void | Visit () |
Visit this texture. |
Detailed Description
Definition at line 100 of file proctex.h.
Member Function Documentation
|
Create a clone this texture wrapper, using the same texture handle.
Implements iTextureWrapper. |
|
Return the flags which are used to register the texture.
Implements iTextureWrapper. |
|
Get the iImage.
Implements iTextureWrapper. |
|
Query the transparent color.
Implements iTextureWrapper. |
|
Get the "class" of this texture. For more information, see iTextureHandle::GetTextureClass. Implements iTextureWrapper. |
|
Get the texture handle.
Implements iTextureWrapper. |
|
Get the use callback. If there are multiple use callbacks you can use this function to chain. Implements iTextureWrapper. |
|
Return true if it is needed to call Visit().
Implements iTextureWrapper. |
|
If this flag is true then the image will be kept even after calling Register. If this flag is false then Register() will remove the image pointer from this texture wrapper. False by default. Implements iTextureWrapper. |
|
Get the iObject for this texture.
Implements iTextureWrapper. |
|
Register the texture with the texture manager.
Implements iTextureWrapper. |
|
Set the flags which are used to register the texture.
Implements iTextureWrapper. |
|
Change the base iImage. The changes will not be visible until the texture is registered again. Implements iTextureWrapper. |
|
Set the keep image flag. See KeepImage() function for explanation. Implements iTextureWrapper. |
|
Set the transparent color.
Implements iTextureWrapper. |
|
Set the "class" of this texture. For more information, see iTextureHandle::SetTextureClass. Implements iTextureWrapper. |
|
Change the texture handle. The changes will immediatly be visible. This will also change the key color and registration flags to those of the new texture and the iImage to 0. Implements iTextureWrapper. |
|
Set a callback which is called just before the texture is used. This is mainly useful for procedural textures which can then choose to update their image. Implements iTextureWrapper. |
|
Visit this texture. This should be called by the engine right before using the texture. It is responsible for calling the use callback if there is one. Implements iTextureWrapper. |
The documentation for this struct was generated from the following file:
- cstool/proctex.h
Generated for Crystal Space by doxygen 1.4.4