Voxel
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Macros Pages
Public Types | Static Public Member Functions | List of all members
OpenCL::Converter< std::array< t_Type, t_Size > > Struct Template Reference

Converter specialization for fixed-size arrays. More...

#include <opencl_converter.h>

Public Types

typedef std::array< typename
Converter< t_Type >::Type,
t_Size > 
Type

Static Public Member Functions

static Type Convert (std::array< t_Type, t_Size > const &source)

Detailed Description

template<typename t_Type, size_t t_Size>
struct OpenCL::Converter< std::array< t_Type, t_Size > >

Converter specialization for fixed-size arrays.

Parameters
t_TypeHost type of array elements.
t_SizeNumber of elements.

On the host, convertable fixed-size arrays are instances of std::array. They are serialized to the device by simply using the appropriate Converter element-by-element.

See Also
Converter

Definition at line 116 of file opencl_converter.h.


The documentation for this struct was generated from the following file: