Modifier and Type | Method and Description |
---|---|
static cl_sampler |
CL.clCreateSampler(cl_context context,
boolean normalized_coords,
int addressing_mode,
int filter_mode,
int[] errcode_ret)
Deprecated.
As of OpenCL 2.0. Use
CL.clCreateSamplerWithProperties(org.jocl.cl_context, org.jocl.cl_sampler_properties, int[]) instead. |
static cl_sampler |
CL.clCreateSamplerWithProperties(cl_context context,
cl_sampler_properties properties,
int[] errcode_ret)
Creates a sampler object.
|
Modifier and Type | Method and Description |
---|---|
static int |
CL.clGetSamplerInfo(cl_sampler sampler,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret)
Returns information about the sampler object.
|
static int |
CL.clReleaseSampler(cl_sampler sampler)
Decrements the sampler reference count.
|
static int |
CL.clRetainSampler(cl_sampler sampler)
Increments the sampler reference count.
|