Voxel
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Macros Pages
Classes | Namespaces | Macros | Enumerations
color.h File Reference

Contains Color and OpenCL::ImageFormat classes. More...

#include "settings.h"
#include <stdint.h>
#include "opencl_converter.h"
#include <CL/cl.h>

Go to the source code of this file.

Classes

struct  Color< COLOR_FORMAT_RGBA_8888 >
 Color specialization storing 32-bit RGBA colors. More...
struct  Color< COLOR_FORMAT_RGB_565 >
 Color specialization storing 16-bit RGB colors. More...
struct  OpenCL::Converter< Color< t_ColorFormat > >
 Converter specialization for Color classes. More...
struct  OpenCL::ImageFormat< t_ColorFormat >
 Maps color formats to OpenCL image format descriptors. More...

Namespaces

namespace  OpenCL
 Contains State, Program, Converter and Exception classes.

Enumerations

enum  ColorFormat { COLOR_FORMAT_RGBA_8888, COLOR_FORMAT_RGB_565 }
 Enumeration over color formats. More...

Detailed Description

Contains Color and OpenCL::ImageFormat classes.

Definition in file color.h.

Enumeration Type Documentation

Enumeration over color formats.

Enumerator:
COLOR_FORMAT_RGBA_8888 

32-bit RGBA. From high to low: AAAAAAAA BBBBBBBB GGGGGGGG RRRRRRRR.

COLOR_FORMAT_RGB_565 

16-bit RGB. From high to low: RRRRR GGGGGG BBBBB.

Definition at line 28 of file color.h.