com.jogamp.opencl
Class CLSampler
java.lang.Object
com.jogamp.opencl.CLObject
com.jogamp.opencl.CLSampler
- All Implemented Interfaces:
- AutoCloseable, CLResource
public class CLSampler
- extends CLObject
Object representing an OpenCL sampler.
- Author:
- Michael Bien, et al.
- See Also:
CLContext.createSampler(com.jogamp.opencl.CLSampler.AddressingMode, com.jogamp.opencl.CLSampler.FilteringMode, boolean)
getFilteringMode
public CLSampler.FilteringMode getFilteringMode()
getAddressingMode
public CLSampler.AddressingMode getAddressingMode()
hasNormalizedCoords
public boolean hasNormalizedCoords()
release
public void release()
- Description copied from interface:
CLResource
- Releases the OpenCL resource.
- Specified by:
release
in interface CLResource
close
@Deprecated
public final void close()
- Deprecated. This method is not intended to be called from client code.
- Implementation detail, satisfying
AutoCloseable
.
Might be remove as soon we have extension methods, but shall validate with Java 1.5 specs.
- Specified by:
close
in interface AutoCloseable
- See Also:
AutoCloseable
isReleased
public boolean isReleased()
- Description copied from interface:
CLResource
- Returns true if
CLResource.release()
has been called.
- Specified by:
isReleased
in interface CLResource