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

#include <subtextureIdentifier.h>

+ Inheritance diagram for HdStAssetUvSubtextureIdentifier:

Public Member Functions

HDST_API HdStAssetUvSubtextureIdentifier (bool flipVertically, bool premultiplyAlpha, const TfToken &sourceColorSpace)
HDST_API std::unique_ptr
< HdStSubtextureIdentifier
Clone () const override
HDST_API bool GetFlipVertically () const
HDST_API bool GetPremultiplyAlpha () const
HDST_API TfToken GetSourceColorSpace () const
HDST_API ~HdStAssetUvSubtextureIdentifier () 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 UV texture should be loaded flipped vertically, whether it should be loaded with pre-multiplied alpha values, and the color space in which the texture is encoded.

The former functionality allows the texture system to support both the legacy HwUvTexture_1 (flipVertically = true) and UsdUvTexture (flipVertically = false) which have opposite conventions for the vertical orientation.

Definition at line 112 of file subtextureIdentifier.h.

Constructor & Destructor Documentation

HDST_API HdStAssetUvSubtextureIdentifier::HdStAssetUvSubtextureIdentifier ( bool  flipVertically,
bool  premultiplyAlpha,
const TfToken sourceColorSpace 

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

HDST_API HdStAssetUvSubtextureIdentifier::~HdStAssetUvSubtextureIdentifier ( )

Member Function Documentation

HDST_API ID HdStAssetUvSubtextureIdentifier::_Hash ( ) const
HDST_API std::unique_ptr<HdStSubtextureIdentifier> HdStAssetUvSubtextureIdentifier::Clone ( ) const
HDST_API bool HdStAssetUvSubtextureIdentifier::GetFlipVertically ( ) const

Definition at line 127 of file subtextureIdentifier.h.

HDST_API bool HdStAssetUvSubtextureIdentifier::GetPremultiplyAlpha ( ) const

Definition at line 130 of file subtextureIdentifier.h.

HDST_API TfToken HdStAssetUvSubtextureIdentifier::GetSourceColorSpace ( ) const

Definition at line 133 of file subtextureIdentifier.h.

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