#include <RmSurface.h>
Inheritance diagram for Rm2DTexture:

Public Member Functions | |
| Rm2DTexture () | |
| Constructor. | |
| virtual | ~Rm2DTexture () |
| Destructor. | |
| bool | Create (RmPixelFormatType pixelFormat, int width, int height, int numMipmaps) |
| Creation of Texture. | |
| virtual void | Destroy () |
| Destroy. | |
| int | GetNumMipmaps () const |
| Get number mipmap. | |
| RmSurface * | GetMipmap (int level) |
| Get mipmap. | |
| const RmSurface * | GetMipmap (int level) const |
| Get mipmap. | |
| RmTextureType | GetTextureType () const |
| Tetxure type. | |
| int | GetWidth () const |
| Get width. | |
| int | GetHeight () const |
| Get height. | |
| RmPixelFormatType | GetPixelFormat () const |
| Pixelformat. | |
2D Texture
|
|
Constructor. Constructor |
|
|
Destructor. Destructor |
|
||||||||||||||||||||
|
Creation of Texture. Create
|
|
|
Destroy. Cleanup all the memory allocated for texture
Reimplemented from RmTexture. |
|
|
Get height. Get height
|
|
|
Get mipmap. Get mipmap by index
|
|
|
Get mipmap. Get mipmap by index
|
|
|
Get number mipmap. Get number of mipmaps
|
|
|
Pixelformat. Return current pixel format
Implements RmTexture. |
|
|
Tetxure type. Return texture type
Implements RmTexture. |
|
|
Get width. Get width
|
1.3.6