Package 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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCLSampler.AddressingModestatic classCLSampler.FilteringMode
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.This method is not intended to be called from client code.CLSampler.AddressingModegetAddressingMode()CLSampler.FilteringModegetFilteringMode()booleanhasNormalizedCoords()booleanisReleased()Returns true ifCLResource.release()has been called.voidrelease()Releases the OpenCL resource.-
Methods inherited from class com.jogamp.opencl.CLObject
getContext, getID, getPlatform, toString
-
-
-
-
Method Detail
-
getFilteringMode
public CLSampler.FilteringMode getFilteringMode()
-
getAddressingMode
public CLSampler.AddressingMode getAddressingMode()
-
hasNormalizedCoords
public boolean hasNormalizedCoords()
-
release
public void release()
Description copied from interface:CLResourceReleases the OpenCL resource.- Specified by:
releasein interfaceCLResource
-
close
@Deprecated public final void close()
Deprecated.This method is not intended to be called from client code.Implementation detail, satisfyingAutoCloseable. Might be remove as soon we have extension methods, but shall validate with Java 1.5 specs.- Specified by:
closein interfaceAutoCloseable- See Also:
AutoCloseable
-
isReleased
public boolean isReleased()
Description copied from interface:CLResourceReturns true ifCLResource.release()has been called.- Specified by:
isReleasedin interfaceCLResource
-
-