|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jocl.cl_image_desc
public class cl_image_desc
Java port of a cl_image_desc
Field Summary | |
---|---|
cl_mem |
buffer
buffer refers to a valid buffer memory object if image_type is CL_MEM_OBJECT_IMAGE1D_BUFFER. |
long |
image_array_size
The number of images in the image array. |
long |
image_depth
The depth of the image in pixels. |
long |
image_height
Height of the image in pixels. |
long |
image_row_pitch
The scan-line pitch in bytes. |
long |
image_slice_pitch
The size in bytes of each 2D slice in the 3D image or the size in bytes of each image in a 1D or 2D image array. |
int |
image_type
Describes the image type. |
long |
image_width
The width of the image in pixels. |
int |
num_mip_levels
Must be 0. |
int |
num_samples
Must be 0. |
Constructor Summary | |
---|---|
cl_image_desc()
Creates a new, uninitialized cl_image_desc |
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 |
---|
public int image_type
cl_mem_object_type
and must be either CL_MEM_OBJECT_IMAGE1D,
CL_MEM_OBJECT_IMAGE1D_BUFFER, CL_MEM_OBJECT_IMAGE1D_ARRAY,
CL_MEM_OBJECT_IMAGE2D, CL_MEM_OBJECT_IMAGE2D_ARRAY or
CL_MEM_OBJECT_IMAGE3D.
public long image_width
public long image_height
public long image_depth
public long image_array_size
public long image_row_pitch
public long image_slice_pitch
public int num_mip_levels
public int num_samples
public cl_mem buffer
Constructor Detail |
---|
public cl_image_desc()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |