public class CLSampler extends Object
CLContext.createSampler(boolean, com.nativelibs4java.opencl.CLSampler.AddressingMode, com.nativelibs4java.opencl.CLSampler.FilterMode)| Modifier and Type | Class and Description |
|---|---|
static class |
CLSampler.AddressingMode
Values for CL_SAMPLER_ADDRESSING_MODE
How out-of-range image coordinates are handled when reading from an image |
static class |
CLSampler.FilterMode
Values for CL_SAMPLER_FILTER_MODE
Type of filter that must be applied when reading an image |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Underyling implementation pointer-based equality test
|
CLSampler.AddressingMode |
getAddressingMode()
Return the value specified by addressing_mode argument to CLContext.createSampler.
|
static <E extends TypedPointer,A extends com.nativelibs4java.opencl.CLAbstractEntity> |
getEntities(A[] objects,
Pointer<E> out) |
CLSampler.FilterMode |
getFilterMode()
Return the value specified by filter_mode argument to CLContext.createSampler.
|
boolean |
getNormalizedCoords()
Return the value specified by normalized_coords argument to CLContext.createSampler.
|
int |
hashCode()
Underyling implementation pointer-based hashCode computation
|
void |
release()
Manual release of the OpenCL resources represented by this object.
|
public CLSampler.AddressingMode getAddressingMode()
public CLSampler.FilterMode getFilterMode()
public boolean getNormalizedCoords()
public void release()
public static <E extends TypedPointer,A extends com.nativelibs4java.opencl.CLAbstractEntity> Pointer<E> getEntities(A[] objects, Pointer<E> out)
public int hashCode()
Copyright © 2009-2015. All Rights Reserved.