|
| | ~RE_OGLTexture () override |
| |
| int64 | getMemoryUsage (bool inclusive) const override |
| |
| virtual const char * | className () const |
| |
| RE_TextureDimension | getTextureType () const |
| |
| virtual bool | hasTextureSupport (RE_Render *r) |
| |
| virtual bool | hasMipMapSupport (RE_Render *) |
| |
| virtual int | getMaxTextureSize (RE_Render *r)=0 |
| |
| virtual int | getMaxTextureIndex (RE_Render *r) |
| |
| bool | hasAutoCompression (RE_Render *r) |
| |
| virtual bool | isValid () const |
| |
| bool | isMutable () const |
| |
| RE_TextureID | getID () const |
| |
| virtual void | free () |
| |
| RE_OGLTexture * | copyAttributes () const |
| |
| void | setDataType (RE_TextureDataType type) |
| |
| RE_TextureDataType | getDataType () const |
| |
| void | setFormat (RE_GPUType data, int vectorsize, RE_TextureFormatExtra format_extra=RE_TEXTURE_FORMAT_EXTRA_NONE) |
| |
| RE_GPUType | getFormatType () const |
| |
| int | getFormatSize () const |
| |
| RE_TextureFormatExtra | getFormatExtra () const |
| |
| int | getInternalFormat () const |
| |
| void | setClientFormat (RE_GPUType data, int vectorsize) |
| |
| void | setCompression (RE_TextureCompress comp, bool auto_compress) |
| |
| RE_TextureCompress | getCompression () const |
| |
| bool | getAutoCompression () const |
| |
| void | setResolution (int w, int h=1, int depth=1, bool force_pow2=false) |
| |
| int | getWidth () const |
| |
| int | getHeight () const |
| |
| int | getDepth () const |
| |
| int | getGLWidth () const |
| |
| int | getGLHeight () const |
| |
| int | getGLDepth () const |
| |
| float | getTexS () const |
| |
| float | getTexT () const |
| |
| float | getTexR () const |
| |
| virtual void | setSamples (int samples) |
| |
| int | getSamples () const |
| |
| void | setMipMap (bool m, bool autogen=true) |
| |
| bool | getMipMap () const |
| |
| bool | getMipMapAutoGenerate () const |
| |
| bool | isMipMapped () const |
| |
| bool | queryTextureStats (RE_Render *r, int *width, int *height, int *depth, int *format) |
| |
| void | setLabel (RE_Render *r, const char *label) |
| |
| virtual void | setTexture (RE_Render *r, const void *data, int level=-1, int index=-1, bool proxy=false)=0 |
| |
| virtual int64 | getSizeBytes () const |
| |
| int64 | getScanBytes () const |
| |
| int64 | getScanBytes (int sublen) const |
| |
| int64 | getBitsPerPixel () const |
| |
| int64 | getTextureSize () const |
| |
| virtual void | setSubTexture (RE_Render *r, const void *data, int level, int xoffset, int xsize, int yoffset=0, int ysize=1, int zoffset=0, int zsize=1)=0 |
| |
| void | clearTexture (RE_Render *r, int level=-1, const void *data=nullptr) |
| |
| virtual void | getTexture (RE_Render *r, void *data, int level=0, int index=-1) const |
| |
| virtual bool | copyFromBuffer (RE_Render *r, int x, int y, int z=0, const UT_DimRect *bufferarea=nullptr, int level=0)=0 |
| |
| bool | copyFromTexture (RE_Render *r, const RE_OGLTexture *src_texture, int src_x, int src_y, int src_z, int dst_x, int dst_y, int dst_z, int width=-1, int height=-1, int depth=-1, int mip_level=0) |
| |
| void | copyToLayer (IMX_Layer *layer, RE_RenderContext r, bool do_opencl_interop=true) const |
| |
| void | copyFromLayer (const IMX_Layer *layer, RE_RenderContext r, bool do_opencl_interop=true) |
| |
| bool | generateMipMaps (RE_Render *r) |
| |
| void | setMinFilter (RE_Render *r, RE_TexFiltType t) |
| |
| RE_TexFiltType | getMinFilter () const |
| |
| void | setMagFilter (RE_Render *r, RE_TexFiltType t) |
| |
| RE_TexFiltType | getMagFilter () const |
| |
| void | setMaxAnisotropy (RE_Render *r, int atf) |
| |
| int | getMaxAnisotropy () const |
| |
| void | setLodBias (RE_Render *r, float bias) |
| |
| float | getLodBias () const |
| |
| void | setTextureWrap (RE_Render *r, RE_TexClampType clamp_s, RE_TexClampType clamp_t=RE_CLAMP_EDGE, RE_TexClampType clamp_r=RE_CLAMP_EDGE) |
| |
| bool | getWrapS () const |
| |
| bool | getWrapT () const |
| |
| bool | getWrapR () const |
| |
| void | setBorder (RE_Render *r, RE_TextureBorder border, const UT_Vector4F *color_alpha=nullptr) |
| |
| UT_Vector4F | getBorderColor () const |
| |
| void | setTextureFilter (RE_Render *r, const RE_TextureFilter &filter) |
| |
| void | setDepthCompareMode (RE_Render *r, bool enabled, RE_TextureCompare compare=RE_TEXTURE_COMPARE_LESS_EQUAL) |
| |
| bool | setTextureSwizzle (RE_Render *r, RE_TextureSwizzle red, RE_TextureSwizzle green, RE_TextureSwizzle blue, RE_TextureSwizzle alpha) |
| |
| void | setAlphaInfo (IMG_FileAlphaInfo a) |
| |
| IMG_FileAlphaInfo | getAlphaInfo () const |
| |
| bool | createTextureHandle (RE_Render *r) |
| |
| uint64 | getTextureHandle () const |
| |
| bool | makeResidentTexture (RE_Render *r) |
| |
| bool | removeResidentTexture (RE_Render *r) |
| |
| bool | writeToFile (RE_Render *r, const char *name, int level=0) const |
| |
| RE_OGLTexture * | expandMultisampleTexture (RE_Render *r) const |
| |
| void | addReference (void(*cb)(void *, RE_OGLTexture *), void *ref_obj) |
| |
| void | removeReference (void *ref_obj) |
| |
| void | setFileModTime (time_t time) |
| |
| bool | hasFileModTime () const |
| |
| time_t | getFileModTime () const |
| |
| void | invalidateCache () |
| |
| void | print (std::ostream *os=nullptr) |
| |
| | RE_CachedObject () |
| |
| | ~RE_CachedObject () override |
| |
| void | setInUse (bool inc) |
| |
| virtual bool | inUse () |
| |
| int | getUsage () const |
| |
| void | incRef () |
| |
| void | decRef () |
| |
| int | getRefCount () const |
| |
| void | setCached (bool cached, const char *mapname) |
| |
| bool | isCached () const |
| |
| const char * | getName () const |
| |
| bool | setRemovalCallback (bool(*relCB)(void *, void *), void *relObject) |
| |
| bool | clearRemovalCallback (void *relObject) |
| |
| | RE_CachedObjectBase () |
| |
| virtual | ~RE_CachedObjectBase () |
| |
| void | setVersion (RE_CacheVersion v) |
| |
| RE_CacheVersion | getVersion () const |
| |
| void | setExtraData (RE_CachedExtraData *data) |
| |
| const RE_CachedExtraDataHandle & | getExtraData () const |
| |
| void | setCacheTag (RE_CacheTagHandle h) |
| |
| void | resetCacheTag () |
| |
| void | setInCache (bool c) |
| |
| bool | isInCache () const |
| |