org.jocl
Class cl_buffer_region

java.lang.Object
  extended by org.jocl.cl_buffer_region

public final class cl_buffer_region
extends java.lang.Object

Java port of a cl_buffer_region


Field Summary
 long origin
          The origin of the region, in bytes
 long size
          The size of the region, in bytes
 
Constructor Summary
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
 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.