virtual RE_TextureMap * clone() const =0
virtual bool getNodeSource(const char *map, const char *rel, void **mapptr, RE_TextureDimension &textype, RE_GPUType &datatype, int &vectorsize, int &w, int &h, int &d)
RE_TextureDimension getMapType() override
const char * className() const override
UT_DimRect getTileArea() const
Returns the bounding area of the populated tiles.
virtual void cachedTextureFound(RE_Texture *tex)
virtual void invalidateCached()
static void installHDACallback(RE_TextureHDAResolverCB cb)
virtual int64 getMemoryUsage(bool inclusive) const
RE_API bool determineUDIMBounds(const UT_StringHolder &filepath, UT_DimRect &udim_area, int &max_tile, UT_Array< std::pair< UT_StringHolder, UT_Vector2i >> &tiles, int tile_stride, RE_TextureHDAResolverCB hda_resolver)
virtual bool getFileSource(const char *map, void **mapptr, RE_TextureDimension &textype, RE_GPUType &datatype, int &vectorsize, int &w, int &h, int &d, bool preload_only)
int getTileStride() const
virtual bool buildTexture(RE_Render *r, RE_Texture *tex, void *data)=0