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

Implements GlfBaseTextureData to load an OpenVDB file. More...

Inherits GlfBaseTextureData.

Public Member Functions

const GfBBox3dGetBoundingBox () const
 See GlfVdbTexture for details. More...
 
GLF_API int NumDimensions () const override
 
GLF_API int ResizedWidth (int mipLevel=0) const override
 
GLF_API int ResizedHeight (int mipLevel=0) const override
 
GLF_API int ResizedDepth (int mipLevel=0) const override
 
GLenum GLInternalFormat () const override
 
GLenum GLFormat () const override
 
GLenum GLType () const override
 
size_t TargetMemory () const override
 
WrapInfo GetWrapInfo () const override
 
size_t ComputeBytesUsed () const override
 
size_t ComputeBytesUsedByMip (int mipLevel=0) const override
 
bool Read (int degradeLevel, bool generateMipmap, GlfImage::ImageOriginLocation originLocation=GlfImage::OriginUpperLeft) override
 
bool HasRawBuffer (int mipLevel=0) const override
 
unsigned char * GetRawBuffer (int mipLevel=0) const override
 
int GetNumMipLevels () const override
 
- Public Member Functions inherited from GlfBaseTextureData
virtual int NumDimensions () const =0
 Is this a 1-, 2- or 3-dimensional texture. More...
 
virtual int ResizedWidth (int mipLevel=0) const =0
 
virtual int ResizedHeight (int mipLevel=0) const =0
 
virtual int ResizedDepth (int mipLevel=0) const =0
 
virtual GLenum GLInternalFormat () const =0
 
virtual GLenum GLFormat () const =0
 
virtual GLenum GLType () const =0
 
virtual size_t TargetMemory () const =0
 
virtual WrapInfo GetWrapInfo () const =0
 
virtual size_t ComputeBytesUsed () const =0
 
virtual size_t ComputeBytesUsedByMip (int mipLevel=0) const =0
 
virtual bool Read (int degradeLevel, bool generateMipmap, GlfImage::ImageOriginLocation originLocation=GlfImage::OriginUpperLeft)=0
 
virtual bool HasRawBuffer (int mipLevel=0) const =0
 
virtual unsigned char * GetRawBuffer (int mipLevel=0) const =0
 
virtual int GetNumMipLevels () const =0
 
virtual bool IsCompressed () const
 
- Public Member Functions inherited from TfRefBase
size_t GetCurrentCount () const
 Return the current reference count of this object. More...
 
bool IsUnique () const
 Return true if only one TfRefPtr points to this object. More...
 
const TfRefCountGetRefCount () const
 
void SetShouldInvokeUniqueChangedListener (bool shouldCall)
 
- Public Member Functions inherited from TfWeakBase
 TfWeakBase (const TfWeakBase &)
 
const TfWeakBase__GetTfWeakBase__ () const
 
const TfWeakBaseoperator= (const TfWeakBase &)
 
void EnableNotification2 () const
 
TF_API void const * GetUniqueIdentifier () const
 

Static Public Member Functions

static GLF_API
GlfVdbTextureDataRefPtr 
New (std::string const &filePath, size_t targetMemory)
 
- Static Public Member Functions inherited from TfRefBase
static TF_API void SetUniqueChangedListener (UniqueChangedListener listener)
 

Additional Inherited Members

- Public Types inherited from TfRefBase
typedef void(* UniqueChangedFuncPtr )(TfRefBase const *, bool)
 
- Protected Member Functions inherited from TfWeakBase
TfRefPtr< Tf_Remnant > _Register () const
 
template<class T >
TfRefPtr< Tf_Remnant > _Register (T *tempRmnt) const
 
bool _HasRemnant () const
 
- Static Protected Member Functions inherited from GlfBaseTextureData
static GLF_API GLenum _GLInternalFormatFromImageData (GLenum format, GLenum type, bool isSRGB)
 

Detailed Description

Implements GlfBaseTextureData to load an OpenVDB file.

Definition at line 50 of file vdbTextureData.h.

Member Function Documentation

const GfBBox3d& GetBoundingBox ( ) const
inline

See GlfVdbTexture for details.

Definition at line 57 of file vdbTextureData.h.


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