public class cl_image_desc
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
cl_image_desc()
Creates a new, uninitialized cl_image_desc
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a String representation of this object.
|
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