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

 (require (planet jaymccarthy/opencl:3:0/c/5-3))
(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
(clRetainSampler sampler)  void
  sampler : _cl_sampler/c
(clReleaseSampler sampler)  void
  sampler : _cl_sampler/c
clGetSamplerInfo : procedure?
A dummy Scheme function that refers callers to the other clGetSamplerInfo-based functions which access the true C function.
(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.
(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).
(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).
(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).
(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).
(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).
clGetSamplerInfo/c : contract?
A contract for the return values of clGetSamplerInfo:generic. Its definition is: (or/c _cl_uint/c _cl_context/c _cl_addressing_mode/c _cl_filter_mode/c _cl_bool/c).
(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.