public class CLSampler extends CLObject
CLContext.createSampler(com.jogamp.opencl.CLSampler.AddressingMode, com.jogamp.opencl.CLSampler.FilteringMode, boolean)
Modifier and Type | Class and Description |
---|---|
static class |
CLSampler.AddressingMode |
static class |
CLSampler.FilteringMode |
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
This method is not intended to be called from client code.
|
CLSampler.AddressingMode |
getAddressingMode() |
CLSampler.FilteringMode |
getFilteringMode() |
boolean |
hasNormalizedCoords() |
boolean |
isReleased()
Returns true if
CLResource.release() has been called. |
void |
release()
Releases the OpenCL resource.
|
getContext, getID, getPlatform, toString
public CLSampler.FilteringMode getFilteringMode()
public CLSampler.AddressingMode getAddressingMode()
public boolean hasNormalizedCoords()
public void release()
CLResource
release
in interface CLResource
@Deprecated public final void close()
AutoCloseable
.
Might be remove as soon we have extension methods, but shall validate with Java 1.5 specs.close
in interface AutoCloseable
AutoCloseable
public boolean isReleased()
CLResource
CLResource.release()
has been called.isReleased
in interface CLResource