Voxel
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Attributes | List of all members
OpenCL::ImageFormat< t_ColorFormat > Struct Template Reference

Maps color formats to OpenCL image format descriptors. More...

#include <color.h>

Public Member Functions

template<>
cl_image_format const format
template<>
cl_image_format const format

Static Public Attributes

static cl_image_format const format

Detailed Description

template<int t_ColorFormat>
struct OpenCL::ImageFormat< t_ColorFormat >

Maps color formats to OpenCL image format descriptors.

Parameters
t_ColorFormatFormat in which colors are stored.

This class contains a single static member: format, which is an OpenCL image format descriptor (cl_image_format) for images represented with the given color format. We use normalized color channels, so, when accessing the image from OpenCL, it will be as floating-point channel values in the range $[0,1]$.

Definition at line 396 of file color.h.


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