HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_VtArray.h File Reference
#include <GT/GT_DataArray.h>
#include <GT/GT_DANumeric.h>
#include <UT/UT_XXHash.h>
#include <SYS/SYS_Compiler.h>
#include <SYS/SYS_Math.h>
#include "pxr/pxr.h"
#include "pxr/base/vt/array.h"
#include "gusd/UT_TypeTraits.h"
#include "gusd/GT_Utils.h"
+ Include dependency graph for GT_VtArray.h:

Go to the source code of this file.

Classes

class  GusdGT_VtArray< T >
 

Macros

#define _DECL_GETTERS(suffix, podt)
 

Macro Definition Documentation

#define _DECL_GETTERS (   suffix,
  podt 
)
Value:
public: \
virtual podt SYS_CONCAT(get,suffix)(GT_Offset o, \
int idx=0) const override \
{ return getT<podt>(o, idx); } \
\
virtual const podt* SYS_CONCAT(get,SYS_CONCAT(suffix,Array)) \
(GT_DataArrayHandle& buf) const override \
{ return getArrayT<podt>(buf); } \
\
protected: \
virtual void doImport(GT_Offset o, podt* dst, \
GT_Size tsize) const override \
{ importT(o, dst, tsize); } \
\
virtual void doFillArray(podt* dst, GT_Offset start, \
GT_Size length, int tsize, \
int stride) const override \
{ fillArrayT(dst, start, length, \
tsize, stride); } \
\
virtual void extendedFill(podt* dst, GT_Offset start, \
GT_Size length, int tsize, \
int nrepeats, \
int stride=-1) const override \
{ extendedFillT(dst, start, length, \
tsize, nrepeats, stride); } \
/* end of macro */
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glcorearb.h:2540
Definition: ImfArray.h:45
GLuint start
Definition: glcorearb.h:475
GLuint GLsizei GLsizei * length
Definition: glcorearb.h:795
#define SYS_CONCAT(a, b)
Definition: SYS_Compiler.h:38
GLint GLenum GLboolean GLsizei stride
Definition: glcorearb.h:872
int64 GT_Offset
Definition: GT_Types.h:129
int64 GT_Size
Definition: GT_Types.h:128
GLenum GLenum dst
Definition: glcorearb.h:1793

Definition at line 172 of file GT_VtArray.h.