#include <perlinimage.h>
Inheritance diagram for PerlinImage:
Class contains functions to generate clouds,wood,marble textures
Public Types | |
enum | PERLINIMAGETYPE |
Image type to be generated. | |
Public Member Functions | |
PerlinImage (int iWidth, int iHeight) | |
void | GenerateImage (PERLINIMAGETYPE eType, int iData) |
void | SetWidth (int iWidth) |
void | SetHeight (int iHeight) |
virtual void | CreateMipMaps () |
Static Public Member Functions | |
bool | ScaleImage (int iComp, int iInWidth, int iInHeight, const unsigned char *pInData, int iOutWidth, int iOutHeight, unsigned char *pOutData) |
Public Attributes | |
int | m_iWidth |
int | m_iHeight |
Texture::TEXTUREFORMAT | m_eFormat |
int | m_iChannels |
int | m_iBPP |
unsigned char * | m_pucData |
ImageCodec * | m_pkCodec |
int | m_iMipMaps |
ImageData * | m_pkMipMaps |
Protected Attributes | |
PERLINIMAGETYPE | m_iType |
bool | m_bGenerated |
|
Sets width and height
|
|
Generates an image
|
|
|
|
|
|
Create mipmaps |
|
Scale image
|
|
Type of image |
|
true if a image is generated, false if not |
|
Width of image |
|
Height of image |
|
Format of data |
|
Color channels |
|
Bits per pixel |
|
Ptr to data |
|
Image codec that created the image |
|
Number of mipmaps |
|
Mipmaps |