24 #ifndef PXR_IMAGING_HD_TYPES_H
25 #define PXR_IMAGING_HD_TYPES_H
173 (v / (
float(1 << (b-1)) - 1.0
f))));
187 template <
typename Vec3Type>
204 template <
typename Vec3Type>
212 int const* asInt =
reinterpret_cast<int const*
>(
this);
217 return (other.
w ==
w &&
223 return !(*
this == other);
369 return !(*
this == rhs);
374 template <
class HashState>
497 #endif // PXR_IMAGING_HD_TYPES_H
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
HD_API size_t HdDataSizeOfType(HdType)
Return the size, in bytes, of a single value of the given type.
A 2-component vector with Int32-valued components.
bool operator==(const HdVec4f_2_10_10_10_REV &other) const
GLsizei const GLfloat * value
HD_API size_t HdDataSizeOfTupleType(HdTupleType)
Return the size, in bytes, of a value with HdTupleType.
GLdouble GLdouble GLdouble z
Corresponds to GL_FLOAT_VEC3.
A 4-component vector with Int32-valued components.
HD_API HdType HdGetComponentType(HdType)
HdCompareFunction compareFunction
ImageBuf OIIO_API min(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
int HdConvertFloatToFixed(float v, int b)
Corresponds to GL_DOUBLE_VEC4.
bool operator!=(HdTupleType const &rhs) const
float HdConvertFixedToFloat(int v, int b)
A 3-component vector with Int32-valued components.
bool operator<(HdTupleType const &rhs) const
Corresponds to GL_DOUBLE_VEC3.
std::pair< float, uint32_t > HdDepthStencilType
IMATH_NAMESPACE::V2f float
HD_API const void * HdGetValueData(const VtValue &)
HD_API HdTupleType HdGetValueTupleType(const VtValue &)
bool operator!=(const HdVec4f_2_10_10_10_REV &other) const
bool operator==(HdTupleType const &rhs) const
void TfHashAppend(HashState &h, HdTupleType const &tt)
A 3-component vector with UInt32-valued components.
vfloat4 round(const vfloat4 &a)
GLboolean GLboolean GLboolean b
HdVec4f_2_10_10_10_REV(Vec3Type const &value)
An unsigned 32-bit integer. Corresponds to GL_UNSIGNED_INT.
Corresponds to GL_DOUBLE_MAT3.
Corresponds to GL_FLOAT_VEC2.
HdVec4f_2_10_10_10_REV(int const value)
HD_API bool operator!=(const HdSamplerParameters &other) const
Corresponds to GL_FLOAT_MAT4.
Corresponds to GL_FLOAT_MAT3.
GLfloat GLfloat GLfloat GLfloat h
A 4-component vector with UInt32-valued components.
HD_API HdFormat HdGetComponentFormat(HdFormat f)
Return the single-channel version of a given format.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API size_t HdGetComponentCount(HdType t)
Corresponds to GL_DOUBLE_VEC2.
Corresponds to GL_FLOAT_VEC4.
Corresponds to GL_DOUBLE_MAT4.
ImageBuf OIIO_API max(Image_or_Const A, Image_or_Const B, ROI roi={}, int nthreads=0)
#define PXR_NAMESPACE_CLOSE_SCOPE
HdBorderColor borderColor
Vec3Type GetAsVec() const
GLubyte GLubyte GLubyte GLubyte w
Corresponds to GL_DOUBLE.
HD_API size_t HdDataSizeOfFormat(HdFormat f)
HD_API bool operator==(const HdSamplerParameters &other) const
A 2-component vector with UInt32-valued components.
HD_API HdSamplerParameters()