HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ptexTexture.h File Reference
#include "pxr/pxr.h"
#include "pxr/imaging/glf/api.h"
#include <string>
+ Include dependency graph for ptexTexture.h:

Go to the source code of this file.

Functions

PXR_NAMESPACE_OPEN_SCOPE
GLF_API bool 
GlfIsSupportedPtexTexture (std::string const &imageFilePath)
 

Function Documentation

PXR_NAMESPACE_OPEN_SCOPE GLF_API bool GlfIsSupportedPtexTexture ( 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.