|
enum | ElementType {
CHAR,
CHAR2,
CHAR4,
UCHAR,
UCHAR2,
UCHAR4,
RGBA,
SHORT,
SHORT2,
SHORT4,
USHORT,
USHORT2,
USHORT4,
INT,
INT2,
INT4,
UINT,
UINT2,
UINT4,
FLOAT,
FLOAT2,
FLOAT4
} |
|
|
| Buffer (const Buffer &)=delete |
|
Buffer & | operator= (const Buffer &)=delete |
|
virtual void | copyFrom (jbyteArray array)=0 |
| Copies from an input array of bytes.
|
|
virtual void | copyFrom (jshortArray array)=0 |
| Copies from an input array of shorts.
|
|
virtual void | copyFrom (jintArray array)=0 |
| Copies from an input array of ints.
|
|
virtual void | copyFrom (jfloatArray array)=0 |
| Copies from an input array of floats.
|
|
virtual void | copyFrom (jobject bitmap)=0 |
| Copies from an input Bitmap.
|
|
virtual void | copyTo (jbyteArray array)=0 |
| Copies to an output array of bytes.
|
|
virtual void | copyTo (jshortArray array)=0 |
| Copies to an output array of shorts.
|
|
virtual void | copyTo (jintArray array)=0 |
| Copies to an output array of ints.
|
|
virtual void | copyTo (jfloatArray array)=0 |
| Copies to an output array of floats.
|
|
virtual void | copyTo (jobject bitmap)=0 |
| Copies to an output Bitmap object.
|
|
Device * | device () |
|
ElementType | type () |
|
size_t | numX () |
|
size_t | numY () |
|
size_t | numZ () |
|
size_t | size () |
|
This class is an abstract class that defines the interface of a buffer that should be implemented for a given programming platform. Instances of implementations of this class can be created by calling device.createBuffer().