Package org.jocl

Class cl_context_properties

    • Constructor Detail

      • cl_context_properties

        public cl_context_properties()
        Creates new, empty cl_context_properties
    • Method Detail

      • addProperty

        public void addProperty​(long id,
                                cl_platform_id value)
        Add the specified property to these properties
        Parameters:
        id - The property ID
        value - 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 class cl_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 class NativePointerObject
        Returns:
        A String representation of this object.