On this page:
cl  Create  Sampler
cl  Retain  Sampler
cl  Release  Sampler
cl  Get  Sampler  Info
cl  Get  Sampler  Info:  length
cl  Get  Sampler  Info:  _  cl_  uint
cl  Get  Sampler  Info:  _  cl_  context
cl  Get  Sampler  Info:  _  cl_  addressing_  mode
cl  Get  Sampler  Info:  _  cl_  filter_  mode
cl  Get  Sampler  Info:  _  cl_  bool
cl  Get  Sampler  Info/  c
cl  Get  Sampler  Info:  generic
1.3.3 Sampler Objects🔗ℹ

procedure

(clCreateSampler ctxt    
  normalized?    
  addressing-mode    
  filter-mode)  _cl_sampler/c
  ctxt : _cl_context/c
  normalized? : _cl_bool/c
  addressing-mode : _cl_addressing_mode/c
  filter-mode : _cl_filter_mode/c

procedure

(clRetainSampler sampler)  void

  sampler : _cl_sampler/c

procedure

(clReleaseSampler sampler)  void

  sampler : _cl_sampler/c
A dummy Racket function that refers callers to the other clGetSamplerInfo-based functions which access the true C function.

procedure

(clGetSamplerInfo:length sampler    
  param_name)  _size_t/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the size of param_name field of the argument(s). Calls clGetSamplerInfo with values for param_value_size and param_value such that param_value_size_ret is queried.

procedure

(clGetSamplerInfo:_cl_uint sampler    
  param_name)  _cl_uint/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetSamplerInfo with param_value_size set to (ctype-sizeof _cl_uint) so that the value is queried. Valid param_names are '(CL_SAMPLER_REFERENCE_COUNT).

procedure

(clGetSamplerInfo:_cl_context sampler    
  param_name)  _cl_context/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetSamplerInfo with param_value_size set to (ctype-sizeof _cl_context) so that the value is queried. Valid param_names are '(CL_SAMPLER_CONTEXT).

procedure

(clGetSamplerInfo:_cl_addressing_mode sampler 
  param_name) 
  _cl_addressing_mode/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetSamplerInfo with param_value_size set to (ctype-sizeof _cl_addressing_mode) so that the value is queried. Valid param_names are '(CL_SAMPLER_ADDRESSING_MODE).

procedure

(clGetSamplerInfo:_cl_filter_mode sampler 
  param_name) 
  _cl_filter_mode/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetSamplerInfo with param_value_size set to (ctype-sizeof _cl_filter_mode) so that the value is queried. Valid param_names are '(CL_SAMPLER_FILTER_MODE).

procedure

(clGetSamplerInfo:_cl_bool sampler    
  param_name)  _cl_bool/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Implemented by clGetSamplerInfo with param_value_size set to (ctype-sizeof _cl_bool) so that the value is queried. Valid param_names are '(CL_SAMPLER_NORMALIZED_COORDS).

procedure

(clGetSamplerInfo:generic sampler    
  param_name)  clGetSamplerInfo/c
  sampler : _cl_sampler/c
  param_name : _cl_sampler_info/c
Returns the value associated with param_name for the argument(s). Selects the appropriate clGetSamplerInfo-based function to extract the appropriate value, automatically providing the right length for variable length functions.