|
HDK
|
#include <types.h>
Public Member Functions | |
| HdVec4f_2_10_10_10_REV () | |
| template<typename Vec3Type > | |
| HdVec4f_2_10_10_10_REV (Vec3Type const &value) | |
| HdVec4f_2_10_10_10_REV (int const value) | |
| template<typename Vec3Type > | |
| Vec3Type | GetAsVec () const |
| int | GetAsInt () const |
| bool | operator== (const HdVec4f_2_10_10_10_REV &other) const |
| bool | operator!= (const HdVec4f_2_10_10_10_REV &other) const |
Public Attributes | |
| int | x: 10 |
| int | y: 10 |
| int | z: 10 |
| int | w: 2 |
HdVec4f_2_10_10_10_REV is a compact representation of a GfVec4f. It uses 10 bits for x, y, and z, and 2 bits for w.
XXX We expect this type to move again as we continue work on refactoring the GL dependencies.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |