22 #ifndef XUSD_HydraUtils_h
23 #define XUSD_HydraUtils_h
49 namespace XUSD_HydraUtils
90 const VtMatrix4dArray &insts);
92 template <
typename A_TYPE>
109 const VtIntArray &hole_indices,
115 const VtIntArray &crease_indices,
116 const VtIntArray &crease_lengths,
117 const VtFloatArray &crease_weights,
119 const VtIntArray &corner_indices,
120 const VtFloatArray &corner_weights,
122 const VtIntArray &hole_indices,
124 const TfToken &vtx_InterpolationRule,
125 const TfToken &fvar_InterpolationRule
HUSD_API bool evalCameraAttrib(T &val, HdSceneDelegate *scene_del, const SdfPath &prim_path, const TfToken &attrib_name)
HUSD_API bool evalLightAttrib(T &val, HdSceneDelegate *scene_del, const SdfPath &prim_path, const TfToken &attrib_name)
HUSD_API bool evalAttrib(T &val, HdSceneDelegate *scene_del, const SdfPath &prim_path, const TfToken &attrib_name)
HUSD_API int64 newDataId()
GLsizei const GLchar *const * path
HUSD_API GT_DataArrayHandle attribGT(const VtValue &value, GT_Type tinfo=GT_TYPE_NONE, int64 data_id=-1)
GT_DataArrayHandle createGTArray(const A_TYPE &usd, GT_Type tinfo=GT_TYPE_NONE, int64 data_id=-1)
HUSD_API GT_TransformArrayHandle createTransformArray(const VtMatrix4dArray &insts)
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
HUSD_API void processSubdivTags(const PxOsdSubdivTags &subdivTags, UT_Array< GT_PrimSubdivisionMesh::Tag > &subd_tags)
HUSD_API void buildAttribMap(HdSceneDelegate *scene_del, SdfPath const &path, UT_StringMap< AttribInfo > &map, GT_Owner varying_class=GT_OWNER_POINT, const UT_Map< GT_Owner, GT_Owner > *remap=nullptr)
HUSD_API bool addToOptions(UT_Options &options, const VtValue &value, const UT_StringRef &name)
UT_UniquePtr< HdExtComputationPrimvarDescriptor > myComputationInfo
HUSD_API bool eval(VtValue &val, T &ret_val)
GLuint const GLchar * name
A map of string to various well defined value types.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HUSD_API UT_Matrix4D fullTransform(HdSceneDelegate *scene_del, const SdfPath &prim_path)
#define PXR_NAMESPACE_CLOSE_SCOPE