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 =
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

Class Method Summary collapse

Methods inherited from Enum

#==, #coerce, #initialize, #inspect, #is?, #name, #to_i, #to_int, #to_s, #val=

Constructor Details

This class inherits a constructor from OpenCL::Enum

Class Method Details

.sBGRAObject



1590
1591
1592
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1590

def self.sBGRA
  return 0x10C2
end

.sRGBObject



1581
1582
1583
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1581

def self.sRGB
  return 0x10BF
end

.sRGBAObject



1587
1588
1589
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1587

def self.sRGBA
  return 0x10C1
end

.sRGBxObject



1584
1585
1586
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1584

def self.sRGBx
  return 0x10C0
end