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 |
Maps color formats to OpenCL image format descriptors.
t_ColorFormat | Format 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 .