HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdStUdimSubtextureIdentifier Class Referencefinal

#include <subtextureIdentifier.h>

+ Inheritance diagram for HdStUdimSubtextureIdentifier:

Public Member Functions

HDST_API HdStUdimSubtextureIdentifier (bool premultiplyAlpha, const TfToken &sourceColorSpace)
 
HDST_API std::unique_ptr
< HdStSubtextureIdentifier
Clone () const override
 
HDST_API bool GetPremultiplyAlpha () const
 
HDST_API TfToken GetSourceColorSpace () const
 
HDST_API ~HdStUdimSubtextureIdentifier () override
 
- Public Member Functions inherited from HdStSubtextureIdentifier
virtual HDST_API ~HdStSubtextureIdentifier ()
 

Protected Member Functions

HDST_API ID _Hash () const override
 

Additional Inherited Members

- Public Types inherited from HdStSubtextureIdentifier
using ID = size_t
 

Detailed Description

Specifies whether a Udim texture should be loaded with pre-multiplied alpha values and the color space in which the texture is encoded.

Definition at line 230 of file subtextureIdentifier.h.

Constructor & Destructor Documentation

HDST_API HdStUdimSubtextureIdentifier::HdStUdimSubtextureIdentifier ( bool  premultiplyAlpha,
const TfToken sourceColorSpace 
)
explicit

C'tor takes bool whether to pre-multiply by alpha and the texture's source color space

HDST_API HdStUdimSubtextureIdentifier::~HdStUdimSubtextureIdentifier ( )
override

Member Function Documentation

HDST_API ID HdStUdimSubtextureIdentifier::_Hash ( ) const
overrideprotectedvirtual
HDST_API std::unique_ptr<HdStSubtextureIdentifier> HdStUdimSubtextureIdentifier::Clone ( ) const
overridevirtual
HDST_API bool HdStUdimSubtextureIdentifier::GetPremultiplyAlpha ( ) const
inline

Definition at line 244 of file subtextureIdentifier.h.

HDST_API TfToken HdStUdimSubtextureIdentifier::GetSourceColorSpace ( ) const
inline

Definition at line 247 of file subtextureIdentifier.h.


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