Package org.jocl

Class cl_buffer_region

java.lang.Object
org.jocl.cl_buffer_region

public final class cl_buffer_region extends Object
Java port of a cl_buffer_region
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    The origin of the region, in bytes
    long
    The size of the region, in bytes
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new, uninitialized cl_buffer_region
    cl_buffer_region(long origin, long size)
    Creates a new cl_buffer_region with the given origin and size
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a String representation of this object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • origin

      public long origin
      The origin of the region, in bytes
    • size

      public long size
      The size of the region, in bytes
  • Constructor Details

    • cl_buffer_region

      public cl_buffer_region()
      Creates a new, uninitialized cl_buffer_region
    • cl_buffer_region

      public cl_buffer_region(long origin, long size)
      Creates a new cl_buffer_region with the given origin and size
      Parameters:
      origin - The origin, in bytes
      size - The size, in bytes
  • Method Details

    • toString

      public String toString()
      Returns a String representation of this object.
      Overrides:
      toString in class Object
      Returns:
      A String representation of this object.