7 #ifndef PXR_EXEC_VDF_TYPED_VECTOR_H
8 #define PXR_EXEC_VDF_TYPED_VECTOR_H
21 template<
typename TYPE>
33 "VdfTypedVector must have same size as VdfVector");
40 "VdfTypedVector must have same size as VdfVector");
50 enum _WithSizeTag { _WithSize };
53 "VdfTypedVector must have same size as VdfVector");
#define PXR_NAMESPACE_OPEN_SCOPE
GLsizei const GLfloat * value
Vdf_VectorData::DataHolder _data
static VdfTypedVector CreateWithSize(size_t size)
Constructs a new vector with the specified size.
VdfTypedVector(const TYPE &value)
Constructs a new vector and initializes it with a specific value.
Implements a Vdf_VectorData storage that is always empty.
VdfTypedVector()
Constructs an empty vector.
#define PXR_NAMESPACE_CLOSE_SCOPE
Implements a Vdf_VectorData storage that is holds a single element.