|
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. More...
#include <subtextureIdentifier.h>
Public Member Functions | |
HDST_API | 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 std::unique_ptr< HdStSubtextureIdentifier > | Clone () const override |
HDST_API bool | GetFlipVertically () const |
HDST_API bool | GetPremultiplyAlpha () const |
HDST_API TfToken | GetSourceColorSpace () const |
virtual HDST_API std::unique_ptr< HdStSubtextureIdentifier > | Clone () 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 |
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.
|
explicit |
C'tor takes bool whether flipping vertically, whether to pre-multiply by alpha, and the texture's source color space.
|
overrideprotectedvirtual |
Implements HdStSubtextureIdentifier.
|
overridevirtual |
Implements HdStSubtextureIdentifier.
|
inline |
Definition at line 127 of file subtextureIdentifier.h.
|
inline |
Definition at line 130 of file subtextureIdentifier.h.
|
inline |
Definition at line 133 of file subtextureIdentifier.h.