TexturePool::TileDescriptor Struct Reference

TexturePool::TileDescriptor Struct Reference

#include <material.h>

Class Description

This structure describes the default texture parameters used when creating texture tiles for this TexturePool.

Definition at line 484 of file material.h.

Public Member Functions

 TileDescriptor (unsigned int iW, unsigned int iH, enum Image::Format eFormat, unsigned int iChannelCount, const QString &sFileFormat, const Color &cFillColor)
 The file format used when saving texture tiles. (i.e. "png", "tif", etc.) More...
 
 TileDescriptor ()
 
 TileDescriptor (const TileDescriptor &pOther, unsigned int iChannelCount)
 
bool IsValid () const
 
virtual void Serialize (Stream &s)
 

Public Attributes

unsigned int m_iWidth
 
unsigned int m_iHeight
 The default width, in pixels of new texture tiles. More...
 
enum Image::Format m_eFormat
 The default height, in pixels of new texture tiles. More...
 
unsigned int m_iChannelCount
 The default pixel format of new texture tiles. More...
 
Color m_cFillColor
 The default channel count of new texture tiles. More...
 
QString m_sFileFormat
 The color used to fill new texture tiles. More...
 

Constructor & Destructor Documentation

TileDescriptor ( unsigned int  iW,
unsigned int  iH,
enum Image::Format  eFormat,
unsigned int  iChannelCount,
const QString sFileFormat,
const Color cFillColor 
)

The file format used when saving texture tiles. (i.e. "png", "tif", etc.)

TileDescriptor ( const TileDescriptor pOther,
unsigned int  iChannelCount 
)

Member Function Documentation

bool IsValid ( ) const
virtual void Serialize ( Stream s)
virtual

Member Data Documentation

unsigned int m_iWidth

Definition at line 486 of file material.h.

unsigned int m_iHeight

The default width, in pixels of new texture tiles.

Definition at line 487 of file material.h.

enum Image::Format m_eFormat

The default height, in pixels of new texture tiles.

Definition at line 488 of file material.h.

unsigned int m_iChannelCount

The default pixel format of new texture tiles.

Definition at line 489 of file material.h.

Color m_cFillColor

The default channel count of new texture tiles.

Definition at line 490 of file material.h.

QString m_sFileFormat

The color used to fill new texture tiles.

Definition at line 491 of file material.h.


The documentation for this struct was generated from the following file: