de.grogra.gpuflux.jocl.compute
Class Buffer

java.lang.Object
  extended by de.grogra.gpuflux.jocl.compute.Buffer

public class Buffer
extends java.lang.Object


Constructor Summary
protected Buffer(JOCLBuffer buffer, Device device)
           
 
Method Summary
 void clear()
           
 JOCLBuffer getBuffer()
           
 Device getDevice()
           
 void readBuffer(byte[] out)
           
 void readBuffer(int[] out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Buffer

protected Buffer(JOCLBuffer buffer,
                 Device device)
Method Detail

clear

public void clear()

getBuffer

public JOCLBuffer getBuffer()

getDevice

public Device getDevice()

readBuffer

public void readBuffer(byte[] out)

readBuffer

public void readBuffer(int[] out)