Loading...
Searching...
No Matches
HdStPtexSubtextureIdentifier Class Referencefinal

Specifies whether a Ptex texture should be loaded with pre-multiplied alpha values. More...

#include <subtextureIdentifier.h>

+ Inheritance diagram for HdStPtexSubtextureIdentifier:

Public Member Functions

HDST_API HdStPtexSubtextureIdentifier (bool premultiplyAlpha)
 C'tor takes bool whether to pre-multiply by alpha.
 
HDST_API std::unique_ptr< HdStSubtextureIdentifierClone () const override
 
HDST_API bool GetPremultiplyAlpha () 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 Ptex texture should be loaded with pre-multiplied alpha values.

Definition at line 199 of file subtextureIdentifier.h.

Constructor & Destructor Documentation

◆ HdStPtexSubtextureIdentifier()

HDST_API HdStPtexSubtextureIdentifier ( bool  premultiplyAlpha)
explicit

C'tor takes bool whether to pre-multiply by alpha.

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 211 of file subtextureIdentifier.h.


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