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

#include <subtextureIdentifier.h>

+ Inheritance diagram for HdStUvOrientationSubtextureIdentifier:

Public Member Functions

HDST_API HdStUvOrientationSubtextureIdentifier (bool flipVertically)
 C'tor takes bool whether flipping vertically. More...
HDST_API std::unique_ptr
< HdStSubtextureIdentifier
Clone () const override
HDST_API ID Hash () const override
HDST_API bool GetFlipVertically () const
HDST_API ~HdStUvOrientationSubtextureIdentifier () override
- Public Member Functions inherited from HdStSubtextureIdentifier
virtual HDST_API ~HdStSubtextureIdentifier ()

Additional Inherited Members

- Public Types inherited from HdStSubtextureIdentifier
using ID = size_t

Detailed Description

Specifies whether a UV texture should be loaded flipped vertically.

This class is here for 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 97 of file subtextureIdentifier.h.

Constructor & Destructor Documentation

HDST_API HdStUvOrientationSubtextureIdentifier::HdStUvOrientationSubtextureIdentifier ( bool  flipVertically)

C'tor takes bool whether flipping vertically.

HDST_API HdStUvOrientationSubtextureIdentifier::~HdStUvOrientationSubtextureIdentifier ( )

Member Function Documentation

HDST_API std::unique_ptr<HdStSubtextureIdentifier> HdStUvOrientationSubtextureIdentifier::Clone ( ) const
HDST_API bool HdStUvOrientationSubtextureIdentifier::GetFlipVertically ( ) const

Definition at line 112 of file subtextureIdentifier.h.

HDST_API ID HdStUvOrientationSubtextureIdentifier::Hash ( ) const

Reimplemented from HdStSubtextureIdentifier.

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