struct cl_image_desc {
cl_mem_object_type image_type;
size_t image_width;
size_t image_height;
size_t image_depth;
size_t image_array_size;
size_t image_row_pitch;
size_t image_slice_pitch;
cl_uint num_mip_levels;
cl_uint num_samples;
union {
cl_mem buffer;
cl_mem mem_object;
};
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CLImageDesc.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUFFER
The struct member offsets. |
| public static final int | IMAGE_ARRAY_SIZE
The struct member offsets. |
| public static final int | IMAGE_DEPTH
The struct member offsets. |
| public static final int | IMAGE_HEIGHT
The struct member offsets. |
| public static final int | IMAGE_ROW_PITCH
The struct member offsets. |
| public static final int | IMAGE_SLICE_PITCH
The struct member offsets. |
| public static final int | IMAGE_TYPE
The struct member offsets. |
| public static final int | IMAGE_WIDTH
The struct member offsets. |
| public static final int | MEM_OBJECT
The struct member offsets. |
| public static final int | NUM_MIP_LEVELS
The struct member offsets. |
| public static final int | NUM_SAMPLES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CLImageDesc(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public CLImageDesc | |
| public static CLImageDesc | |
| public static CLImageDesc. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CLImageDesc | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CLImageDesc. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CLImageDesc | |
| public static CLImageDesc | |
| public static CLImageDesc. | |
| public static CLImageDesc. | |
| protected CLImageDesc | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static CLImageDesc | |
| public static CLImageDesc | |
| public static CLImageDesc. | create(int
the buffer capacity capacity)Returns a new |
| public static CLImageDesc. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CLImageDesc | |
| public static CLImageDesc. | |
| public long | |
| public CLImageDesc | |
| public long | |
| public CLImageDesc | |
| public long | |
| public CLImageDesc | |
| public long | |
| public CLImageDesc | |
| public 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. |
| public CLImageDesc | |
| public int | |
| public CLImageDesc | |
| public long | |
| public CLImageDesc | |
| public static CLImageDesc | |
| public static CLImageDesc. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CLImageDesc | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CLImageDesc. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CLImageDesc | |
| public static CLImageDesc | |
| public static CLImageDesc. | |
| public static CLImageDesc. | |
| public long | |
| public CLImageDesc | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public int | |
| public CLImageDesc | |
| public int | |
| public CLImageDesc | |
| public CLImageDesc | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |