HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdStUvTextureObject Class Referenceabstract

#include <textureObject.h>

+ Inheritance diagram for HdStUvTextureObject:

Public Member Functions

virtual HDST_API
HgiTextureHandle const
GetTexture () const =0
 
virtual HDST_API const
std::pair< HdWrap, HdWrap > & 
GetWrapParameters () const =0
 
HDST_API HdTextureType GetTextureType () const overridefinal
 
- Public Member Functions inherited from HdStTextureObject
HDST_API const
HdStTextureIdentifier
GetTextureIdentifier () const
 
HDST_API size_t GetTargetMemory () const
 
HDST_API void SetTargetMemory (size_t)
 
virtual HDST_API bool IsValid () const =0
 
virtual HDST_API ~HdStTextureObject ()
 

Protected Member Functions

 HdStUvTextureObject (const HdStTextureIdentifier &textureId, HdSt_TextureObjectRegistry *textureObjectRegistry)
 
- Protected Member Functions inherited from HdStTextureObject
 HdStTextureObject (const HdStTextureIdentifier &textureId, HdSt_TextureObjectRegistry *textureObjectRegistry)
 
Hgi_GetHgi () const
 
virtual HDST_API void _Load ()=0
 
virtual HDST_API void _Commit ()=0
 

Detailed Description

A base class for uv textures.

Definition at line 126 of file textureObject.h.

Constructor & Destructor Documentation

HdStUvTextureObject::HdStUvTextureObject ( const HdStTextureIdentifier textureId,
HdSt_TextureObjectRegistry textureObjectRegistry 
)
protected

Member Function Documentation

virtual HDST_API HgiTextureHandle const& HdStUvTextureObject::GetTexture ( ) const
pure virtual

Get the handle to the actual GPU resource.

Only valid after commit phase.

Implemented in HdStAssetUvTextureObject, and HdStDynamicUvTextureObject.

HDST_API HdTextureType HdStUvTextureObject::GetTextureType ( ) const
finaloverridevirtual

Get texture type

Implements HdStTextureObject.

virtual HDST_API const std::pair<HdWrap, HdWrap>& HdStUvTextureObject::GetWrapParameters ( ) const
pure virtual

Opinion about wrapS and wrapT parameters from the texture file.

Only valid after commit phase. Can be HdWrapNoOpinion.

Implemented in HdStAssetUvTextureObject, and HdStDynamicUvTextureObject.


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