HDK
|
#include <RE_Texture1DMap.h>
Public Member Functions | |
RE_Texture1DMap () | |
~RE_Texture1DMap () override | |
int64 | getMemoryUsage (bool inclusive) const override |
RE_TextureDimension | getMapType () override |
RE_TextureMap * | clone () const override |
Public Member Functions inherited from RE_TextureMap | |
virtual | ~RE_TextureMap () |
virtual const char * | className () const |
bool | setSource (const char *mapname, const char *relativeTo) |
bool | setSource (const char *mapname, const char *relativeTo, RE_Texture *texture, RE_CacheVersion version, bool(*releaseCB)(RE_Texture *, void *), void *releaseObject) |
void | setNamespace (const char *ns) |
void | setSourceModifyCallback (const char *opname, bool(*modifyCallback)(RE_TextureMap *map, TexCBPixelData &pixdata, void *user_data), void *user_data) |
void | clearStoredTexture () |
void | deleteTexRef (RE_Texture *tex) |
RE_TextureHolder | getTexture (RE_Render *r, bool deferred_load=false) |
Access to the texture itself. This method may actually build it. More... | |
RE_TextureHolder | getCachedTexture (RE_Render *r) |
Access to the texture itself, this method will only check the cache. More... | |
RE_Texture * | getUncachedTexture (RE_Render *r) |
Return a texture that is not cached in the GL cache. You own it. More... | |
bool | hasTaggedTexture () const |
void | setVersion (RE_CacheVersion v) |
void | bumpVersion () |
RE_CacheVersion | getVersion () const |
virtual void | invalidateCached () |
const char * | getMapName () const |
const char * | getRelativePath () const |
void | reset () |
void | clear (const char *clear_name=nullptr) |
bool | isSourceValid () |
void | setValidSourceResolve (bool valid) |
bool | hasValidSourceResolve () const |
bool | isLoadPending () const |
void | getResolution (int &w, int &h, int &d) |
RE_GPUType | getFormatType () |
int | getFormatSize () |
float | getAspectRatio () |
float | getAspectRatioXZ () |
RE_TextureFilter & | filter () |
const RE_TextureFilter & | filter () const |
void | setColorSpace (PXL_ColorSpace space) |
PXL_ColorSpace | getColorSpace () const |
void | sizeTo (int w, int h, int d=1) |
void | scaleTo (fpreal w, fpreal h=-1.0f, fpreal d=-1.0f) |
void | maxSize (int w, int h, int d) |
void | maxMemSize (int mem_limit_mb) |
void | makePow2 (bool pow2) |
void | setCompression (RE_TextureCompress comp) |
void | setMipMap (bool mip) |
void | setTextureFormatOption (RE_TextureFormatExtra opt) |
void | setTextureComponent (int texcomp) |
void | fillRGBFromSingle (bool fill_rgb_mono) |
void | setOpaqueAlpha (bool opaque_alpha) |
bool | getOpaqueAlpha () const |
void | checkAlphaDetails (bool check) |
IMG_FileAlphaInfo | getAlphaDetails () const |
void | allowPreload (bool preload) |
bool | allowsPreload () const |
virtual int | getSourceOpID () const |
Definition at line 22 of file RE_Texture1DMap.h.
RE_Texture1DMap::RE_Texture1DMap | ( | ) |
|
override |
|
overridevirtual |
Implements RE_TextureMap.
|
inlineoverridevirtual |
Implements RE_TextureMap.
Definition at line 32 of file RE_Texture1DMap.h.
|
overridevirtual |
Returns the amount of main memory owned by this map.. (graphics memory is owned by the returned RE_Texture)
Reimplemented from RE_TextureMap.