Class: OpenCL::ChannelOrder

Inherits:
Enum
  • Object
show all
Defined in:
lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb

Overview

Enum that maps the :cl_channel_order type

Constant Summary collapse

R =

:stopdoc:

0x10B0
A =
0x10B1
RG =
0x10B2
RA =
0x10B3
RGB =
0x10B4
RGBA =
0x10B5
BGRA =
0x10B6
ARGB =
0x10B7
INTENSITY =
0x10B8
LUMINANCE =
0x10B9
Rx =
0x10BA
RGx =
0x10BB
RGBx =
0x10BC
DEPTH =
0x10BD
DEPTH_STENCIL =
0x10BE
ABGR =
0x10C3

Instance Method Summary collapse

Methods inherited from Enum

#==, #initialize, #is?, #to_i, #to_int, #to_s, #val=

Constructor Details

This class inherits a constructor from OpenCL::Enum

Instance Method Details

#nameObject

:startdoc: Returns a String representing the Enum value name



1729
1730
1731
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1729

def name
  return @@codes[@val]
end