| Modifier and Type | Class and Description |
|---|---|
| pack-priv static interface | CLMem.
CLMem utility methods interface. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static CLMem | |
| public static CLMem | Returns: the new CLMem objectthe context on which to create the image object context, final long the memory object flags flags, final CLImageFormat the image format image_format, final long the image width image_width, final long the image height image_height, final long the image row pitch image_row_pitch, final Buffer the host buffer from which to read image data (optional) host_ptr, final IntBuffer the error code result errcode_ret)Creates a new 2D image object. |
| public static CLMem | Returns: the new CLMem objectthe context on which to create the image object context, final long the memory object flags flags, final CLImageFormat the image format image_format, final long the image width image_width, final long the image height image_height, final long the image depth image_depth, final long the image row pitch image_row_pitch, final long the image slice pitch image_slice_pitch, final Buffer the host buffer from which to read image data (optional) host_ptr, final IntBuffer the error code result errcode_ret)Creates a new 3D image object. |
| public CLMem | createSubBuffer(final long flags, final int buffer_create_type, final CLBufferRegion buffer_create_info, final IntBuffer errcode_ret)
|
| public int | |
| public int | |
| public int | Returns: the parameter valuethe parameter param_name)Returns the int value of the specified parameter. |
| public int | |
| public int | |
| public CLImageFormat | |
| public long | Returns: the parameter valuethe parameter param_name)Returns the size_t value of the specified parameter. |
| public ByteBuffer | Returns: the host memory ByteBufferReturns a direct ByteBuffer instance that points to the host memory that backs this CLMem object. |
| public int | Returns: the parameter valuethe parameter param_name)Returns the integer value of the specified parameter. |
| public long | Returns: the parameter valuethe parameter param_name)Returns the long value of the specified parameter. |
| public long | Returns: the parameter valuethe parameter param_name)Returns the size_t value of the specified parameter. |
| pack-priv int |
| util | back to summary |
|---|---|
| private static final CLMem. | |
| CLMem | back to summary |
|---|---|
| pack-priv CLMem(final long pointer, final CLContext context) | |
| create | back to summary |
|---|---|
| pack-priv static CLMem create(final long pointer, final CLContext context) Sub-buffer factory. clCreateSubBuffer may return an existing CLMem. | |
| createImage2D | back to summary |
|---|---|
| public static CLMem createImage2D(final CLContext context, final long flags, final CLImageFormat image_format, final long image_width, final long image_height, final long image_row_pitch, final Buffer host_ptr, final IntBuffer errcode_ret) Creates a new 2D image object.
| |
| createImage3D | back to summary |
|---|---|
| public static CLMem createImage3D(final CLContext context, final long flags, final CLImageFormat image_format, final long image_width, final long image_height, final long image_depth, final long image_row_pitch, final long image_slice_pitch, final Buffer host_ptr, final IntBuffer errcode_ret) Creates a new 3D image object.
| |
| createSubBuffer | back to summary |
|---|---|
| public CLMem createSubBuffer(final long flags, final int buffer_create_type, final CLBufferRegion buffer_create_info, final IntBuffer errcode_ret) | |
| getGLObjectName | back to summary |
|---|---|
| public int getGLObjectName() Returns the GL object name. Applicable to CLMem objects that have been created GL objects only.
| |
| getGLObjectType | back to summary |
|---|---|
| public int getGLObjectType() Returns the GL object type. Applicable to CLMem objects that have been created GL objects only.
| |
| getGLTextureInfoInt | back to summary |
|---|---|
| public int getGLTextureInfoInt(int param_name) Returns the int value of the specified parameter. Applicable to CLMem objects that have been created by GL textures only.
| |
| getImageChannelOrder | back to summary |
|---|---|
| public int getImageChannelOrder() Returns the image channel order. Applicable to image objects only.
| |
| getImageChannelType | back to summary |
|---|---|
| public int getImageChannelType() Returns the image channel type. Applicable to image objects only.
| |
| getImageFormat | back to summary |
|---|---|
| public CLImageFormat getImageFormat() Returns the image format. Applicable to image objects only.
| |
| getImageInfoSize | back to summary |
|---|---|
| public long getImageInfoSize(int param_name) Returns the size_t value of the specified parameter. Applicable to image objects only.
| |
| getInfoHostBuffer | back to summary |
|---|---|
| public ByteBuffer getInfoHostBuffer() Returns a direct ByteBuffer instance that points to the host memory that backs this CLMem object. Applicable only to CLMem objects that were created with the CL_MEM_USE_HOST_PTR flag.
| |
| getInfoInt | back to summary |
|---|---|
| public int getInfoInt(int param_name) Returns the integer value of the specified parameter.
| |
| getInfoLong | back to summary |
|---|---|
| public long getInfoLong(int param_name) Returns the long value of the specified parameter. Can be used for both cl_ulong and cl_bitfield parameters.
| |
| getInfoSize | back to summary |
|---|---|
| public long getInfoSize(int param_name) Returns the size_t value of the specified parameter.
| |
| release | back to summary |
|---|---|
| pack-priv int release() Overrides org. | |
| Modifier and Type | Method and Description |
|---|---|
| public CLMem | createImage2D(CLContext context, long flags, CLImageFormat image_format, long image_width, long image_height, long image_row_pitch, Buffer host_ptr, IntBuffer errcode_ret)
|
| public CLMem | createImage3D(CLContext context, long flags, CLImageFormat image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, Buffer host_ptr, IntBuffer errcode_ret)
|
| public CLMem | createSubBuffer(CLMem mem, long flags, int buffer_create_type, CLBufferRegion buffer_create_info, IntBuffer errcode_ret)
|
| public int | |
| public int | |
| public int | |
| public CLImageFormat | |
| public int | |
| public long | |
| public ByteBuffer |
| createImage2D | back to summary |
|---|---|
| public CLMem createImage2D(CLContext context, long flags, CLImageFormat image_format, long image_width, long image_height, long image_row_pitch, Buffer host_ptr, IntBuffer errcode_ret) | |
| createImage3D | back to summary |
|---|---|
| public CLMem createImage3D(CLContext context, long flags, CLImageFormat image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, Buffer host_ptr, IntBuffer errcode_ret) | |
| createSubBuffer | back to summary |
|---|---|
| public CLMem createSubBuffer(CLMem mem, long flags, int buffer_create_type, CLBufferRegion buffer_create_info, IntBuffer errcode_ret) | |
| getGLObjectName | back to summary |
|---|---|
| public int getGLObjectName(CLMem mem) | |
| getGLObjectType | back to summary |
|---|---|
| public int getGLObjectType(CLMem mem) | |
| getGLTextureInfoInt | back to summary |
|---|---|
| public int getGLTextureInfoInt(CLMem mem, int param_name) | |
| getImageInfoFormat | back to summary |
|---|---|
| public CLImageFormat getImageInfoFormat(CLMem mem) | |
| getImageInfoFormat | back to summary |
|---|---|
| public int getImageInfoFormat(CLMem mem, int index) | |
| getImageInfoSize | back to summary |
|---|---|
| public long getImageInfoSize(CLMem mem, int param_name) | |
| getInfoHostBuffer | back to summary |
|---|---|
| public ByteBuffer getInfoHostBuffer(CLMem mem) | |