Package org.jocl

Class cl_sampler_properties


public final class cl_sampler_properties extends cl_abstract_properties
Java port of cl_sampler_properties.
  • 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 ID
      value - The property value
    • addProperty

      public void addProperty(long id, float value)
      Add the specified property to these properties
      Parameters:
      id - The property ID
      value - The property value
    • propertyString

      protected 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 String toString()
      Returns a String representation of this object.
      Overrides:
      toString in class NativePointerObject
      Returns:
      A String representation of this object.