HDK
|
#include "pxr/pxr.h"
#include "pxr/imaging/hdSt/api.h"
#include "pxr/imaging/hdSt/textureObject.h"
#include "pxr/imaging/hgi/handle.h"
#include "pxr/base/gf/vec2i.h"
#include "pxr/base/gf/vec3i.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) |
using HgiTextureHandle = int HgiHandle<class HgiTexture> |
Definition at line 53 of file ptexTextureObject.h.
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.