Loading...
Searching...
No Matches
HdStUdimSubtextureIdentifier Class Referencefinal

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

#include <subtextureIdentifier.h>

+ Inheritance diagram for HdStUdimSubtextureIdentifier:

Public Member Functions

HDST_API HdStUdimSubtextureIdentifier (bool premultiplyAlpha, const TfToken &sourceColorSpace)
 C'tor takes bool whether to pre-multiply by alpha and the texture's source color space.
 
HDST_API std::unique_ptr< HdStSubtextureIdentifierClone () const override
 
HDST_API bool GetPremultiplyAlpha () const
 
HDST_API TfToken GetSourceColorSpace () const
 
virtual HDST_API std::unique_ptr< HdStSubtextureIdentifierClone () const =0
 

Protected Member Functions

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

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

◆ HdStUdimSubtextureIdentifier()

HDST_API HdStUdimSubtextureIdentifier ( bool  premultiplyAlpha,
const TfToken sourceColorSpace 
)
explicit

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

Member Function Documentation

◆ _Hash()

HDST_API ID _Hash ( ) const
overrideprotectedvirtual

◆ Clone()

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

◆ GetPremultiplyAlpha()

HDST_API bool GetPremultiplyAlpha ( ) const
inline

Definition at line 244 of file subtextureIdentifier.h.

◆ GetSourceColorSpace()

HDST_API TfToken GetSourceColorSpace ( ) const
inline

Definition at line 247 of file subtextureIdentifier.h.


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