7 #ifndef PXR_IMAGING_HGI_HANDLE_H
8 #define PXR_IMAGING_HGI_HANDLE_H
48 explicit operator bool()
const {
return _ptr!=
nullptr;}
54 return _id == other._id;
58 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