Go to the documentation of this file.
18 #ifndef viskores_interop_internal_BufferTypePicker_h
19 #define viskores_interop_internal_BufferTypePicker_h
35 template <
typename NumericTag,
typename DimensionalityTag>
36 static inline VISKORES_CONT GLenum BufferTypePickerImpl(NumericTag, DimensionalityTag)
38 return GL_ARRAY_BUFFER;
45 return GL_ELEMENT_ARRAY_BUFFER;
52 return GL_ELEMENT_ARRAY_BUFFER;
57 return GL_ELEMENT_ARRAY_BUFFER;
62 return GL_ELEMENT_ARRAY_BUFFER;
67 return GL_ELEMENT_ARRAY_BUFFER;
78 return detail::BufferTypePickerImpl(
typename Traits::NumericTag(),
79 typename Traits::DimensionalityTag());
85 #endif //viskores_interop_internal_BufferTypePicker_h
signed long long Int64
Base type to use for 64-bit signed integer numbers.
Definition: Types.h:212
Tag used to identify 0 dimensional types (scalars).
Definition: TypeTraits.h:52
The TypeTraits class provides helpful compile-time information about the basic types used in Viskores...
Definition: TypeTraits.h:69
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
unsigned long long UInt64
Base type to use for 64-bit signed integer numbers.
Definition: Types.h:215
int32_t Int32
Base type to use for 32-bit signed integer numbers.
Definition: Types.h:189
uint32_t UInt32
Base type to use for 32-bit unsigned integer numbers.
Definition: Types.h:193
Tag used to identify types that store integer numbers.
Definition: TypeTraits.h:44