|
| TIL_TextureMap (const UT_StringHolder &mapname=UT_StringHolder(), const char *relativeTo=nullptr, TIL_Raster *rp=nullptr) |
|
| TIL_TextureMap (const UT_StringHolder &mapname, const forceDiskCache &) |
|
virtual | ~TIL_TextureMap () |
|
void | setOpCaller (UT_OpCaller *c) |
|
void | setMap (const UT_StringHolder &name, const char *relativeTo, TIL_Raster *rp=nullptr, bool always_resolve=true, bool force_disk_cache=false) |
|
const UT_StringHolder & | getMap () const |
|
void | clearRaster () |
|
void | forceReload () |
|
const TIL_Raster * | getOGLRaster () |
|
TIL_TextureOptions | getTextureOptions () const |
|
void | getResolution (int &x, int &y) |
|
int | getNChannels () const |
|
void | setColorChannelName (const UT_StringHolder &n) |
|
const UT_StringHolder & | getColorChannelName () const |
|
void | setFaceIndex (int index) |
|
int | getFaceIndex () const |
|
void | setSubimage (int i) |
|
int | getSubimage () const |
|
void | setPtexChannel (int index) |
|
int | getPtexChannel () const |
|
TIL_PtexOrient | ptexOrient () const |
|
void | setPtexOrient (TIL_PtexOrient o) |
|
void | setFilter (UT_FilterType filter, float xw, float yw) |
|
void | setXFilter (UT_FilterType filter) |
|
void | setYFilter (UT_FilterType filter) |
|
void | setFilterWidths (float xwidth, float ywidth) |
|
void | setFilterBlurs (float xblur, float yblur) |
|
void | setMipInterpolate (int onoff) |
|
void | setWrapMode (UT_FilterWrap uwrap, UT_FilterWrap vwrap, const UT_Vector4 &border) |
|
void | setDeepInterp (IMG_DeepInterp interp) |
|
void | setBeerLambert (bool beerlambert) |
|
void | setSourceColorSpace (IMG_ColorSpace convert) |
|
void | setFilterMode (IMG_TextureFilter::FilterMode m) |
|
void | setZSkew (float zskew) |
|
void | setIESNormalization (int mode) |
|
void | setIESAngleScale (float scale) |
|
const UT_Filter * | getXFilter () const |
|
const UT_Filter * | getYFilter () const |
|
float | getXFilterWidth () const |
|
float | getYFilterWidth () const |
|
void | setColorLookup (bool interp=true, bool needalpha=true) |
|
void | setBumpLookup (bool interp=false, TIL_BUMP_COMPUTE_TYPE type=TIL_BUMP_PRECOMPUTE) |
|
UT_FilterWrap | getUWrap () const |
|
UT_FilterWrap | getVWrap () const |
|
const UT_Vector4 & | getBorder () const |
|
bool | isDefault () const |
|
int | isTTMap () const |
|
int | isDSM () const |
|
bool | isPtex () const |
|
bool | isOIIO () const |
|
int | isIES () const |
|
TIL_TextureHandle | getLookupHandle () const |
|
const IMG_TextureFilter & | getFilter () const |
| Query filter information. More...
|
|
IMG_TextureFilter & | getFilter () |
|
TIL_BUMP_COMPUTE_TYPE | getBumpCompute () const |
|
bool | getInterpRequired () const |
|
bool | getAlphaRequired () const |
|
const UT_StringHolder & | ocioColorSpace () const |
| Get the OCIO color space associated with the file. More...
|
|
void | wrapMode (UT_StringHolder &swrap, UT_StringHolder &twrap) const |
|
bool | textureInfo (TextureInfo &info) const |
| Load information about texture and MIP levels. More...
|
|
bool | loadMipRaster (int mip_level, const UT_DimRect ®ion, void *data) |
| Load the raster for a given MIP level, possibly converting the data. More...
|
|
bool | isVolatileTexture () const |
|
bool | hasTextureChanged (const TIL_Raster **newraster=0) |
|
IMG_File * | getFile () |
|
IMG_FileTTMap * | getTTMap () |
|
const TIL_Cdf2D * | getCDF (int maxres=512) |
| Return a 2d CDF for sampling. More...
|
|
int | getColorChannelIndex (IMG_FileTTMap *map) const |
|
|
template<typename T > |
void | colorLookup (float u, float v, UT_Vector4T< T > &clr) const |
|
template<typename T > |
void | colorLookup (const float u[4], const float v[4], UT_Vector4T< T > &clr) const |
|
fpreal | depthLookup (float u, float v, float farvalue=1E6) const |
|
template<typename T > |
void | bumpLookup (float u, float v, T &du, T &dv) const |
|
template<typename T > |
void | envLookup (const UT_Vector3T< T > &R, fpreal angle, UT_Vector4T< T > &clr) const |
|
template<typename T > |
void | envLookup (const UT_Vector3T< T > &r00, const UT_Vector3T< T > &r10, const UT_Vector3T< T > &r11, const UT_Vector3T< T > &r01, UT_Vector4T< T > &clr) const |
|
|
void | colorLookup (TIL_TextureHandle &h, float u, float v, UT_Vector4F &clr) const |
|
void | colorLookup (TIL_TextureHandle &h, float u, float v, UT_Vector4D &clr) const |
|
void | colorLookup (TIL_TextureHandle &h, const float u[4], const float v[4], UT_Vector4F &clr) const |
|
void | colorLookup (TIL_TextureHandle &h, const float u[4], const float v[4], UT_Vector4D &clr) const |
|
float | depthLookup (TIL_TextureHandle &h, float u, float v, float farvalue=1E6) const |
|
void | bumpLookup (TIL_TextureHandle &h, float u, float v, fpreal32 &du, fpreal32 &dv) const |
|
void | bumpLookup (TIL_TextureHandle &h, float u, float v, fpreal64 &du, fpreal64 &dv) const |
|
void | envLookup (TIL_TextureHandle &h, const UT_Vector3F &R, fpreal angle, UT_Vector4F &clr) const |
|
void | envLookup (TIL_TextureHandle &h, const UT_Vector3D &R, fpreal angle, UT_Vector4D &clr) const |
|
void | envLookup (TIL_TextureHandle &h, const UT_Vector3F &r00, const UT_Vector3F &r10, const UT_Vector3F &r11, const UT_Vector3F &r01, UT_Vector4 &clr) const |
|
void | envLookup (TIL_TextureHandle &h, const UT_Vector3D &r00, const UT_Vector3D &r10, const UT_Vector3D &r11, const UT_Vector3D &r01, UT_Vector4D &clr) const |
|
void | getResolution (const TIL_TextureHandle &h, int &x, int &y) |
|
|
void | deepLookup (TIL_TextureHandle &h, UT_Vector3F &clr, const UT_Vector3F &p, const UT_Vector3F &du, const UT_Vector3F &dv, float quality, int maxsamples) |
|
void | deepLookup (TIL_TextureHandle &h, UT_Vector3D &clr, const UT_Vector3D &p, const UT_Vector3D &du, const UT_Vector3D &dv, float quality, int maxsamples) |
|
Definition at line 309 of file TIL_TextureMap.h.