24 #ifndef PXR_IMAGING_HGI_HANDLE_H
25 #define PXR_IMAGING_HGI_HANDLE_H
61 explicit operator bool()
const {
return _ptr!=
nullptr;}
67 return _id == other._id;
71 return !(*
this == other);
bool operator!=(const HgiHandle &other) const
HgiHandle(T *obj, uint64_t id)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
bool operator==(const HgiHandle &other) const