Top Description Fields Methods
com.jogamp.opencl.llb

public Interface CLSamplerBinding

Known Direct Subinterfaces
com.jogamp.opencl.llb.CL
Imports
com.jogamp.gluegen.runtime.*, com.jogamp.common.os.*, com.jogamp.common.nio.*, java.nio.*

Java bindings to OpenCL sampler objects.
Author
Michael Bien, GlueGen, et al.

Field Summary

Modifier and TypeField and Description
public static final int
CL_ADDRESS_CLAMP

CType: int

public static final int
public static final int
public static final int
CL_ADDRESS_NONE

CType: int

public static final int
public static final int
CL_FILTER_LINEAR

CType: int

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Method Summary

Modifier and TypeMethod and Description
public long
clCreateSampler(long context, int normalized_coords, int addressing_mode, int filter_mode, IntBuffer
a direct or array-backed java.nio.IntBuffer
errcode_ret
)

Interface to C language function: cl_sampler {@native clCreateSampler}(cl_context context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int * errcode_ret)

public long
clCreateSampler(long context, int normalized_coords, int addressing_mode, int filter_mode, int[] errcode_ret, int errcode_ret_offset)

Interface to C language function: cl_sampler {@native clCreateSampler}(cl_context context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int * errcode_ret)

public int
clGetSamplerInfo(long sampler, int param_name, long param_value_size, Buffer
a direct only java.nio.Buffer
param_value
,
PointerBuffer param_value_size_ret)

Interface to C language function: cl_int {@native clGetSamplerInfo}(cl_sampler sampler, cl_sampler_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)

public int
clReleaseSampler(long sampler)

Interface to C language function: cl_int {@native clReleaseSampler}(cl_sampler sampler)

public int
clRetainSampler(long sampler)

Interface to C language function: cl_int {@native clRetainSampler}(cl_sampler sampler)

Field Detail

CL_ADDRESS_CLAMPback to summary
public static final int CL_ADDRESS_CLAMP

CType: int

CL_ADDRESS_CLAMP_TO_EDGEback to summary
public static final int CL_ADDRESS_CLAMP_TO_EDGE

CType: int

CL_ADDRESS_MIRRORED_REPEATback to summary
public static final int CL_ADDRESS_MIRRORED_REPEAT

CType: int

CL_ADDRESS_NONEback to summary
public static final int CL_ADDRESS_NONE

CType: int

CL_ADDRESS_REPEATback to summary
public static final int CL_ADDRESS_REPEAT

CType: int

CL_FILTER_LINEARback to summary
public static final int CL_FILTER_LINEAR

CType: int

CL_FILTER_NEARESTback to summary
public static final int CL_FILTER_NEAREST

CType: int

CL_SAMPLER_ADDRESSING_MODEback to summary
public static final int CL_SAMPLER_ADDRESSING_MODE

CType: int

CL_SAMPLER_CONTEXTback to summary
public static final int CL_SAMPLER_CONTEXT

CType: int

CL_SAMPLER_FILTER_MODEback to summary
public static final int CL_SAMPLER_FILTER_MODE

CType: int

CL_SAMPLER_NORMALIZED_COORDSback to summary
public static final int CL_SAMPLER_NORMALIZED_COORDS

CType: int

CL_SAMPLER_REFERENCE_COUNTback to summary
public static final int CL_SAMPLER_REFERENCE_COUNT

CType: int

Method Detail

clCreateSamplerback to summary
public long clCreateSampler(long context, int normalized_coords, int addressing_mode, int filter_mode, IntBuffer errcode_ret)

Interface to C language function:
cl_sampler {@native clCreateSampler}(cl_context context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int * errcode_ret)

Parameters
errcode_ret:IntBuffer

a direct or array-backed java.nio.IntBuffer

clCreateSamplerback to summary
public long clCreateSampler(long context, int normalized_coords, int addressing_mode, int filter_mode, int[] errcode_ret, int errcode_ret_offset)

Interface to C language function:
cl_sampler {@native clCreateSampler}(cl_context context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int * errcode_ret)

clGetSamplerInfoback to summary
public int clGetSamplerInfo(long sampler, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)

Interface to C language function:
cl_int {@native clGetSamplerInfo}(cl_sampler sampler, cl_sampler_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)

Parameters
param_value:Buffer

a direct only java.nio.Buffer

param_value_size_ret:PointerBuffer

a direct only com.jogamp.common.nio.PointerBuffer

clReleaseSamplerback to summary
public int clReleaseSampler(long sampler)

Interface to C language function:
cl_int {@native clReleaseSampler}(cl_sampler sampler)

clRetainSamplerback to summary
public int clRetainSampler(long sampler)

Interface to C language function:
cl_int {@native clRetainSampler}(cl_sampler sampler)