HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TIL_MakeTexture Class Reference

#include <TIL_MakeTexture.h>

Classes

struct  CacheErrorFiles
 

Public Types

enum  SRGB_MODE { SRGB_DISABLE, SRGB_FORCE, SRGB_AUTO }
 

Public Member Functions

 TIL_MakeTexture ()
 
virtual ~TIL_MakeTexture ()
 
void setOutputFormat (const UT_StringHolder &v)
 
void setFilter (const UT_StringHolder &f)
 
void setAOV (const UT_StringHolder &s)
 
void setSRGBMode (SRGB_MODE mode)
 
void setOCIO (const UT_StringRef &sspace, const UT_StringRef &infile, const UT_StringRef &dspace, const UT_StringRef &outfile, bool allowparse)
 
void setWrapModes (const UT_StringHolder &s, const UT_StringHolder &t)
 
void setSanitize (bool v)
 
void setStoreColorSpace (bool v)
 
bool makeTexture (const UT_StringRef &infile, const UT_StringRef &outfile, int tile_width=64, int tile_height=64) const
 
bool deepSource () const
 
template<typename... Args>
void message (const char *fmt, const Args &...args) const
 
template<typename... Args>
void warning (const char *fmt, const Args &...args) const
 
template<typename... Args>
void error (const char *fmt, const Args &...args) const
 

Static Public Member Functions

static void initDiskCache ()
 
static const UT_StringHolderfastRemap (const UT_StringRef &name, bool force)
 
static UT_StringHolder remapFile (const UT_StringHolder &name, bool force)
 
static bool clearRemapCache (bool out_of_date)
 
static FS_DiskCachediskCache ()
 
static int64 cacheFilesFound ()
 Number of cached files found and used. More...
 
static int64 cacheLocalCreated ()
 Number of local files created. More...
 
static int64 cacheTempCreated ()
 Number of temp files created. More...
 
static CacheErrorFiles cacheErrorFiles ()
 Number of errors while trying to create cache files. More...
 

Protected Member Functions

virtual void doMessage (const char *msg) const
 
virtual void doWarning (const char *msg) const
 
virtual void doError (const char *msg) const
 

Detailed Description

Definition at line 24 of file TIL_MakeTexture.h.

Member Enumeration Documentation

Enumerator
SRGB_DISABLE 
SRGB_FORCE 
SRGB_AUTO 

Definition at line 27 of file TIL_MakeTexture.h.

Constructor & Destructor Documentation

TIL_MakeTexture::TIL_MakeTexture ( )
inline

Definition at line 34 of file TIL_MakeTexture.h.

virtual TIL_MakeTexture::~TIL_MakeTexture ( )
virtual

Member Function Documentation

static CacheErrorFiles TIL_MakeTexture::cacheErrorFiles ( )
static

Number of errors while trying to create cache files.

static int64 TIL_MakeTexture::cacheFilesFound ( )
static

Number of cached files found and used.

static int64 TIL_MakeTexture::cacheLocalCreated ( )
static

Number of local files created.

static int64 TIL_MakeTexture::cacheTempCreated ( )
static

Number of temp files created.

static bool TIL_MakeTexture::clearRemapCache ( bool  out_of_date)
static
bool TIL_MakeTexture::deepSource ( ) const
inline

Definition at line 98 of file TIL_MakeTexture.h.

static FS_DiskCache& TIL_MakeTexture::diskCache ( )
static
virtual void TIL_MakeTexture::doError ( const char *  msg) const
inlineprotectedvirtual

Definition at line 125 of file TIL_MakeTexture.h.

virtual void TIL_MakeTexture::doMessage ( const char *  msg) const
inlineprotectedvirtual

Definition at line 123 of file TIL_MakeTexture.h.

virtual void TIL_MakeTexture::doWarning ( const char *  msg) const
inlineprotectedvirtual

Definition at line 124 of file TIL_MakeTexture.h.

template<typename... Args>
void TIL_MakeTexture::error ( const char *  fmt,
const Args &...  args 
) const
inline

Definition at line 115 of file TIL_MakeTexture.h.

static const UT_StringHolder& TIL_MakeTexture::fastRemap ( const UT_StringRef name,
bool  force 
)
static
static void TIL_MakeTexture::initDiskCache ( )
static
bool TIL_MakeTexture::makeTexture ( const UT_StringRef infile,
const UT_StringRef outfile,
int  tile_width = 64,
int  tile_height = 64 
) const
template<typename... Args>
void TIL_MakeTexture::message ( const char *  fmt,
const Args &...  args 
) const
inline

Definition at line 101 of file TIL_MakeTexture.h.

static UT_StringHolder TIL_MakeTexture::remapFile ( const UT_StringHolder name,
bool  force 
)
static
void TIL_MakeTexture::setAOV ( const UT_StringHolder s)
inline

Definition at line 79 of file TIL_MakeTexture.h.

void TIL_MakeTexture::setFilter ( const UT_StringHolder f)
inline

Definition at line 78 of file TIL_MakeTexture.h.

void TIL_MakeTexture::setOCIO ( const UT_StringRef sspace,
const UT_StringRef infile,
const UT_StringRef dspace,
const UT_StringRef outfile,
bool  allowparse 
)
void TIL_MakeTexture::setOutputFormat ( const UT_StringHolder v)
inline

Definition at line 77 of file TIL_MakeTexture.h.

void TIL_MakeTexture::setSanitize ( bool  v)
inline

Definition at line 89 of file TIL_MakeTexture.h.

void TIL_MakeTexture::setSRGBMode ( SRGB_MODE  mode)
inline

Definition at line 80 of file TIL_MakeTexture.h.

void TIL_MakeTexture::setStoreColorSpace ( bool  v)
inline

Definition at line 90 of file TIL_MakeTexture.h.

void TIL_MakeTexture::setWrapModes ( const UT_StringHolder s,
const UT_StringHolder t 
)
inline

Definition at line 84 of file TIL_MakeTexture.h.

template<typename... Args>
void TIL_MakeTexture::warning ( const char *  fmt,
const Args &...  args 
) const
inline

Definition at line 108 of file TIL_MakeTexture.h.


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