7 #ifndef PXR_EXEC_VDF_OUTPUT_SPEC_H
8 #define PXR_EXEC_VDF_OUTPUT_SPEC_H
17 #include "pxr/base/tf/mallocTag.h"
79 return !(*
this == rhs);
100 template <
typename T>
106 template <
typename T>
109 TfType::Find<T>(), _AllocateCache<T>, _ResizeCache<T>
120 template <
typename T>
121 static void _RegisterType() {
122 _RegisterType(_GenerateTypeInfo<T>());
bool operator==(const VdfOutputSpec &rhs) const
VDF_API VdfVector * AllocateCache() const
Allocate a new VdfVector with this spec's type.
#define PXR_NAMESPACE_OPEN_SCOPE
ResizeCacheFn resizeCache
Fast, compressed bit array which is capable of performing logical operations without first decompress...
TF_MALLOC_TAG_NEW("Vdf","new VdfOutputSpec")
VDF_API size_t GetHash() const
Returns a hash for this instance.
GLint GLint GLsizei GLint GLenum GLenum type
void(*)(VdfVector *, const VdfMask::Bits &) ResizeCacheFn
static VdfOutputSpec * New(const TfToken &name)
GLuint const GLchar * name
VdfVector *(*)( AllocateCacheFn)
TfType GetType() const
Returns the type of this spec.
AllocateCacheFn allocateCache
#define PXR_NAMESPACE_CLOSE_SCOPE
const TfToken & GetName() const
Returns the name of this connector.
bool operator!=(const VdfOutputSpec &rhs) const
VDF_API std::string GetTypeName() const
Returns the name of this spec's type.
VDF_API void ResizeCache(VdfVector *vector, const VdfMask::Bits &bits) const
Resize an existing VdfVector to accomodate all the data set in the bits.