Class cl_context_properties
java.lang.Object
org.jocl.NativePointerObject
org.jocl.cl_abstract_properties
org.jocl.cl_context_properties
Java port of cl_context_properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(long id, cl_platform_id value) Add the specified property to these propertiesprotected StringpropertyString(long value) Returns the string identifying the given propertytoString()Returns a String representation of this object.Methods inherited from class cl_abstract_properties
addProperty, buildStringMethods inherited from class NativePointerObject
equals, getBuffer, getByteOffset, getNativePointer, hashCode, setBuffer, withByteOffset
-
Constructor Details
-
cl_context_properties
public cl_context_properties()Creates new, empty cl_context_properties
-
-
Method Details
-
addProperty
Add the specified property to these properties- Parameters:
id- The property IDvalue- The property value
-
propertyString
Description copied from class:cl_abstract_propertiesReturns the string identifying the given property- Specified by:
propertyStringin classcl_abstract_properties- 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.
-