Class cl_sampler_properties
java.lang.Object
org.jocl.NativePointerObject
org.jocl.cl_sampler_properties
Java port of cl_sampler_properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(long id, boolean value) Add the specified property to these propertiesvoidaddProperty(long id, float value) Add the specified property to these propertiesvoidaddProperty(long id, long value) Add the specified property to these propertiesprotected StringReturns a String containing the contents of these propertiesprotected StringpropertyString(long value) Returns the string identifying the given propertytoString()Returns a String representation of this object.Methods inherited from class NativePointerObject
equals, getNativePointer, hashCode
-
Constructor Details
-
cl_sampler_properties
public cl_sampler_properties()Creates new, empty cl_sampler_properties
-
-
Method Details
-
addProperty
public void addProperty(long id, boolean value) Add the specified property to these properties- Parameters:
id- The property IDvalue- The property value
-
addProperty
public void addProperty(long id, float value) Add the specified property to these properties- Parameters:
id- The property IDvalue- The property value
-
propertyString
Returns the string identifying the given property- Parameters:
value- The property value- Returns:
- The string representation
-
toString
Returns a String representation of this object.- Overrides:
toStringin classNativePointerObject- Returns:
- A String representation of this object.
-
addProperty
public void addProperty(long id, long value) Add the specified property to these properties- Parameters:
id- The property IDvalue- The property value
-
buildString
Returns a String containing the contents of these properties- Returns:
- A String representation of the contents of these properties
-