#include <IMG_TileOptions.h>
Definition at line 24 of file IMG_TileOptions.h.
IMG_TileOptions::IMG_TileOptions |
( |
| ) |
|
|
default |
If the format is a null pointer, it will be inferred from the filename.
virtual IMG_TileOptions::~IMG_TileOptions |
( |
| ) |
|
|
virtualdefault |
bool IMG_TileOptions::changeFileExtension |
( |
| ) |
|
void IMG_TileOptions::clearOptions |
( |
| ) |
|
There are sevaral ways to set format options: 1) A sting (which is parsed into token/value pairs) 2) A set of token/value pairs specified as a linear array
Create a new copy of myself.
void IMG_TileOptions::dump |
( |
| ) |
const |
fpreal IMG_TileOptions::gamma |
( |
| ) |
const |
|
inline |
const char* IMG_TileOptions::getChannel |
( |
| ) |
const |
const char* IMG_TileOptions::getFilename |
( |
| ) |
const |
Get the IMG_Format associated with these options. This will possibly return a null ptr.
const char* IMG_TileOptions::getFormatName |
( |
| ) |
const |
const UT_Options& IMG_TileOptions::getLocalOptions |
( |
| ) |
const |
virtual bool IMG_TileOptions::getOption |
( |
const char * |
token, |
|
|
UT_String & |
value |
|
) |
| const |
|
virtual |
Getting the option will return true/false based on whether the option was defined. If the option was not defined, the value will not be touched (i.e. it will remain unchanged).
virtual int IMG_TileOptions::packOptionsString |
( |
UT_String & |
result | ) |
const |
|
virtual |
Pack all options into a single string. Returns the number of options packed.
void IMG_TileOptions::setFormatOption |
( |
const char * |
token, |
|
|
const char * |
value |
|
) |
| |
void IMG_TileOptions::setFormatOptions |
( |
const char * |
string | ) |
|
void IMG_TileOptions::setFormatOptions |
( |
int |
argc, |
|
|
const char *const |
argv[] |
|
) |
| |
virtual void IMG_TileOptions::setTextureOptions |
( |
UT_Options & |
options | ) |
|
|
virtual |
Texture options are only output for specific file formats. These texture options are used to pass information from the calling application to the device (where required). The application can write directly to the UT_Options, which will then be output in the file.
fpreal IMG_TileOptions::myGamma = 1 |
|
protected |
The documentation for this class was generated from the following file: