11 #ifndef __IMG_TileOptions__
12 #define __IMG_TileOptions__
51 dtype, cmodel, tinfo);
59 bool changeFileExtension();
65 void setFormatOptions(
const char *
string);
66 void setFormatOptions(
int argc,
const char *
const argv[]);
68 void setFormatOption(
const char *token,
const char *
value);
69 void setFormatOptions(
const UT_Options &options);
76 const char *getFilename()
const;
77 const char *getChannel()
const;
78 const char *getFormatName()
const;
94 virtual void setTextureOptions(
UT_Options &options);
129 int entries()
const {
return myOptions.size(); }
GT_API const UT_StringHolder filename
OIIO_UTIL_API bool copy(string_view from, string_view to, std::string &err)
void setPlaneInfo(const char *filename, const char *channel, const char *format, IMG_DataType dtype=IMG_DT_ANY, IMG_ColorModel cmodel=IMG_CM_ANY, IMG_TypeInfo tinfo=IMG_TI_COLOR)
IMG_TypeInfo
How the channel data should be interpreted.
Class which writes ASCII or binary JSON streams.
void setGamma(fpreal gamma)
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
GLubyte GLubyte GLubyte GLubyte w
UT_StringHolder myFilename
IMG_TileOptions * operator()(int i)
GLuint GLint GLboolean GLint GLenum access
UT_StringHolder myFormatName
GLint GLint GLsizei GLint GLenum format
A map of string to various well defined value types.
UT_StringHolder myChannel
void append(UT_UniquePtr< IMG_TileOptions > opt)