Loading...
Searching...
No Matches
HdStOpenVDBAssetSubtextureIdentifier Class Referencefinal

Identifies a grid in an OpenVDB file. More...

#include <fieldSubtextureIdentifier.h>

+ Inheritance diagram for HdStOpenVDBAssetSubtextureIdentifier:

Public Member Functions

HDST_API HdStOpenVDBAssetSubtextureIdentifier (TfToken const &fieldName, int fieldIndex)
 C'tor.
 
HDST_API std::unique_ptr< HdStSubtextureIdentifierClone () const override
 
- Public Member Functions inherited from HdStFieldBaseSubtextureIdentifier
HDST_API TfToken const & GetFieldName () const
 Get field name.
 
HDST_API int GetFieldIndex () const
 Get field index.
 
virtual HDST_API std::unique_ptr< HdStSubtextureIdentifierClone () const =0
 

Protected Member Functions

HDST_API ID _Hash () const override
 
- Protected Member Functions inherited from HdStFieldBaseSubtextureIdentifier
HDST_API HdStFieldBaseSubtextureIdentifier (TfToken const &fieldName, int fieldIndex)
 
HDST_API ID _Hash () const override
 
virtual ID _Hash () const =0
 

Additional Inherited Members

- Public Types inherited from HdStSubtextureIdentifier
using ID = size_t
 

Detailed Description

Identifies a grid in an OpenVDB file.

Parallels OpenVDBAsset in usdVol.

Definition at line 36 of file fieldSubtextureIdentifier.h.

Constructor & Destructor Documentation

◆ HdStOpenVDBAssetSubtextureIdentifier()

HDST_API HdStOpenVDBAssetSubtextureIdentifier ( TfToken const &  fieldName,
int  fieldIndex 
)
explicit

C'tor.

fieldName corresponds to the gridName in the OpenVDB file.

Member Function Documentation

◆ _Hash()

HDST_API ID _Hash ( ) const
overrideprotectedvirtual

◆ Clone()

HDST_API std::unique_ptr< HdStSubtextureIdentifier > Clone ( ) const
overridevirtual

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