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

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



1659
1660
1661
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1659

def self.sBGRA
  return 0x10C2
end

.sRGBObject



1650
1651
1652
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1650

def self.sRGB
  return 0x10BF
end

.sRGBAObject



1656
1657
1658
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1656

def self.sRGBA
  return 0x10C1
end

.sRGBxObject



1653
1654
1655
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1653

def self.sRGBx
  return 0x10C0
end

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