Package org.jocl
Class cl_sampler_properties
- java.lang.Object
-
- org.jocl.NativePointerObject
-
- org.jocl.cl_abstract_properties
-
- org.jocl.cl_sampler_properties
-
public final class cl_sampler_properties extends cl_abstract_properties
Java port of cl_sampler_properties.
-
-
Constructor Summary
Constructors Constructor Description cl_sampler_properties()
Creates new, empty cl_sampler_properties
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProperty(long id, boolean value)
Add the specified property to these propertiesvoid
addProperty(long id, float value)
Add the specified property to these propertiesprotected java.lang.String
propertyString(long value)
Returns the string identifying the given propertyjava.lang.String
toString()
Returns a String representation of this object.-
Methods inherited from class org.jocl.cl_abstract_properties
addProperty, buildString
-
Methods inherited from class org.jocl.NativePointerObject
equals, getBuffer, getByteOffset, getNativePointer, hashCode, setBuffer, withByteOffset
-
-
-
-
Method Detail
-
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
protected java.lang.String propertyString(long value)
Description copied from class:cl_abstract_properties
Returns the string identifying the given property- Specified by:
propertyString
in classcl_abstract_properties
- Parameters:
value
- The property value- Returns:
- The string representation
-
toString
public java.lang.String toString()
Returns a String representation of this object.- Overrides:
toString
in classNativePointerObject
- Returns:
- A String representation of this object.
-
-