OpenCL C++ Wrapper API 1.1
 All Classes Namespaces Files Functions Variables Typedefs Defines
Public Member Functions
cl::ImageFormat Struct Reference

ImageFormat interface fro cl_image_format. More...

#include <cl.hpp>

List of all members.

Public Member Functions

 ImageFormat ()
 ImageFormat (cl_channel_order order, cl_channel_type type)
ImageFormatoperator= (const ImageFormat &rhs)

Detailed Description

ImageFormat interface fro cl_image_format.

ImageFormat

Definition at line 1290 of file cl.hpp.


Constructor & Destructor Documentation

Definition at line 1292 of file cl.hpp.

{}
cl::ImageFormat::ImageFormat ( cl_channel_order  order,
cl_channel_type  type 
) [inline]

Definition at line 1294 of file cl.hpp.

    {
        image_channel_order = order;
        image_channel_data_type = type;
    }

Member Function Documentation

ImageFormat& cl::ImageFormat::operator= ( const ImageFormat rhs) [inline]

Definition at line 1300 of file cl.hpp.

    {
        if (this != &rhs) {
            this->image_channel_data_type = rhs.image_channel_data_type;
            this->image_channel_order     = rhs.image_channel_order;
        }
        return *this;
    }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Defines