Package org.jocl

Class cl_buffer_region


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

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

      Constructors 
      Constructor Description
      cl_buffer_region()
      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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      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 Detail

      • origin

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

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

      • 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 Detail

      • toString

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