HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ptexTextureObject.h File Reference
+ Include dependency graph for ptexTextureObject.h:

Go to the source code of this file.

Classes

class  HdStPtexTextureObject
 
struct  HdSt_TypedTextureObjectHelper< HdTextureType::Ptex >
 

Typedefs

using HgiTextureHandle = int HgiHandle< class HgiTexture >
 

Functions

PXR_NAMESPACE_OPEN_SCOPE
HDST_API bool 
HdStIsSupportedPtexTexture (std::string const &imageFilePath)
 

Typedef Documentation

Definition at line 53 of file ptexTextureObject.h.

Function Documentation

PXR_NAMESPACE_OPEN_SCOPE HDST_API bool HdStIsSupportedPtexTexture ( std::string const &  imageFilePath)

Returns true if the file given by imageFilePath represents a ptex file, and false otherwise.

This function simply checks the extension of the file name and does not otherwise guarantee that the file is in any way valid for reading.

If ptex support is disabled, this function will always return false.