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

Go to the source code of this file.

Classes

class  GlfPtexTexture
 Represents a Ptex (per-face texture) object in Glf. More...
 

Functions

GLF_API bool GlfIsSupportedPtexTexture (std::string const &imageFilePath)
 Returns true if the file given by imageFilePath represents a ptex file, and false otherwise. More...
 
 TF_DECLARE_WEAK_AND_REF_PTRS (GlfPtexTexture)
 

Function Documentation

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.