# Uses of Class org.lwjgl.opencl.CLMem (LWJGL API)
Date: 2015-07-28

## Uses of Class
org.lwjgl.opencl.CLMem

Packages that use CLMem
org.lwjgl.opencl

Uses of CLMem in org.lwjgl.opencl

Methods in org.lwjgl.opencl that return CLMem
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.ByteBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.DoubleBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.FloatBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.IntBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.LongBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, long host_ptr_size, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateBuffer(CLContext context, long flags, java.nio.ShortBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10GL.clCreateFromGLBuffer(CLContext context, long flags, int bufobj, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10GL.clCreateFromGLRenderbuffer(CLContext context, long flags, int renderbuffer, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL12GL.clCreateFromGLTexture(CLContext context, long flags, int target, int miplevel, int texture, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10GL.clCreateFromGLTexture2D(CLContext context, long flags, int target, int miplevel, int texture, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10GL.clCreateFromGLTexture3D(CLContext context, long flags, int target, int miplevel, int texture, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL12.clCreateImage(CLContext context, long flags, java.nio.ByteBuffer image_format, java.nio.ByteBuffer image_desc, java.nio.ByteBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL12.clCreateImage(CLContext context, long flags, java.nio.ByteBuffer image_format, java.nio.ByteBuffer image_desc, java.nio.FloatBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL12.clCreateImage(CLContext context, long flags, java.nio.ByteBuffer image_format, java.nio.ByteBuffer image_desc, java.nio.IntBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL12.clCreateImage(CLContext context, long flags, java.nio.ByteBuffer image_format, java.nio.ByteBuffer image_desc, java.nio.ShortBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage2D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_row_pitch, java.nio.ByteBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage2D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_row_pitch, java.nio.FloatBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage2D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_row_pitch, java.nio.IntBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage2D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_row_pitch, java.nio.ShortBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage3D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, java.nio.ByteBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage3D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, java.nio.FloatBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage3D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, java.nio.IntBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL10.clCreateImage3D(CLContext context, long flags, java.nio.ByteBuffer image_format, long image_width, long image_height, long image_depth, long image_row_pitch, long image_slice_pitch, java.nio.ShortBuffer host_ptr, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CL11.clCreateSubBuffer(CLMem buffer, long flags, int buffer_create_type, java.nio.ByteBuffer buffer_create_info, java.nio.IntBuffer errcode_ret)`
`static CLMem` `CLMem.createImage2D(CLContext context, long flags, CLImageFormat image_format, long image_width, long image_height, long image_row_pitch, java.nio.Buffer host_ptr, java.nio.IntBuffer errcode_ret)` Creates a new 2D image object.
`static CLMem` `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, java.nio.Buffer host_ptr, java.nio.IntBuffer errcode_ret)` Creates a new 3D image object.
`CLMem` `CLMem.createSubBuffer(long flags, int buffer_create_type, CLBufferRegion buffer_create_info, java.nio.IntBuffer errcode_ret)`
`CLMem` `CLContext.getCLMem(long id)` Returns a CLMem associated with this context.

Methods in org.lwjgl.opencl with parameters of type CLMem
`static CLMem` `CL11.clCreateSubBuffer(CLMem buffer, long flags, int buffer_create_type, java.nio.ByteBuffer buffer_create_info, java.nio.IntBuffer errcode_ret)`
`static int` `CL10GL.clEnqueueAcquireGLObjects(CLCommandQueue command_queue, CLMem mem_object, PointerBuffer event_wait_list, PointerBuffer event)` Overloads clEnqueueAcquireGLObjects.
`static int` `CL10.clEnqueueCopyBuffer(CLCommandQueue command_queue, CLMem src_buffer, CLMem dst_buffer, long src_offset, long dst_offset, long size, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueCopyBufferRect(CLCommandQueue command_queue, CLMem src_buffer, CLMem dst_buffer, PointerBuffer src_origin, PointerBuffer dst_origin, PointerBuffer region, long src_row_pitch, long src_slice_pitch, long dst_row_pitch, long dst_slice_pitch, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueCopyBufferToImage(CLCommandQueue command_queue, CLMem src_buffer, CLMem dst_image, long src_offset, PointerBuffer dst_origin, PointerBuffer region, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueCopyImage(CLCommandQueue command_queue, CLMem src_image, CLMem dst_image, PointerBuffer src_origin, PointerBuffer dst_origin, PointerBuffer region, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueCopyImageToBuffer(CLCommandQueue command_queue, CLMem src_image, CLMem dst_buffer, PointerBuffer src_origin, PointerBuffer region, long dst_offset, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL12.clEnqueueFillBuffer(CLCommandQueue command_queue, CLMem buffer, java.nio.ByteBuffer pattern, long offset, long size, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL12.clEnqueueFillImage(CLCommandQueue command_queue, CLMem image, java.nio.ByteBuffer fill_color, PointerBuffer origin, PointerBuffer region, PointerBuffer event_wait_list, PointerBuffer event)`
`static java.nio.ByteBuffer` `CL10.clEnqueueMapBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_map, long map_flags, long offset, long size, PointerBuffer event_wait_list, PointerBuffer event, java.nio.IntBuffer errcode_ret)`
`static java.nio.ByteBuffer` `CL10.clEnqueueMapImage(CLCommandQueue command_queue, CLMem image, int blocking_map, long map_flags, PointerBuffer origin, PointerBuffer region, PointerBuffer image_row_pitch, PointerBuffer image_slice_pitch, PointerBuffer event_wait_list, PointerBuffer event, java.nio.IntBuffer errcode_ret)`
`static int` `EXTMigrateMemobject.clEnqueueMigrateMemObjectEXT(CLCommandQueue command_queue, CLMem mem_object, long flags, PointerBuffer event_wait_list, PointerBuffer event)` Overloads clEnqueueMigrateMemObjectEXT.
`static int` `CL10.clEnqueueNativeKernel(CLCommandQueue command_queue, CLNativeKernel user_func, CLMem[] mem_list, long[] sizes, PointerBuffer event_wait_list, PointerBuffer event)` Enqueues a native kernel to the specified command queue.
`static int` `CL10.clEnqueueReadBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_read, long offset, java.nio.ByteBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueReadBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_read, long offset, java.nio.DoubleBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueReadBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_read, long offset, java.nio.FloatBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueReadBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_read, long offset, java.nio.IntBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueReadBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_read, long offset, java.nio.LongBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueReadBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_read, long offset, java.nio.ShortBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueReadBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_read, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.ByteBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueReadBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_read, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.DoubleBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueReadBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_read, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.FloatBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueReadBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_read, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.IntBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueReadBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_read, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.LongBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueReadBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_read, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.ShortBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueReadImage(CLCommandQueue command_queue, CLMem image, int blocking_read, PointerBuffer origin, PointerBuffer region, long row_pitch, long slice_pitch, java.nio.ByteBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueReadImage(CLCommandQueue command_queue, CLMem image, int blocking_read, PointerBuffer origin, PointerBuffer region, long row_pitch, long slice_pitch, java.nio.FloatBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueReadImage(CLCommandQueue command_queue, CLMem image, int blocking_read, PointerBuffer origin, PointerBuffer region, long row_pitch, long slice_pitch, java.nio.IntBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueReadImage(CLCommandQueue command_queue, CLMem image, int blocking_read, PointerBuffer origin, PointerBuffer region, long row_pitch, long slice_pitch, java.nio.ShortBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10GL.clEnqueueReleaseGLObjects(CLCommandQueue command_queue, CLMem mem_object, PointerBuffer event_wait_list, PointerBuffer event)` Overloads clEnqueueReleaseGLObjects.
`static int` `CL10.clEnqueueUnmapMemObject(CLCommandQueue command_queue, CLMem memobj, java.nio.ByteBuffer mapped_ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueWriteBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_write, long offset, java.nio.ByteBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueWriteBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_write, long offset, java.nio.DoubleBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueWriteBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_write, long offset, java.nio.FloatBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueWriteBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_write, long offset, java.nio.IntBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueWriteBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_write, long offset, java.nio.LongBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueWriteBuffer(CLCommandQueue command_queue, CLMem buffer, int blocking_write, long offset, java.nio.ShortBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueWriteBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_write, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.ByteBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueWriteBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_write, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.DoubleBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueWriteBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_write, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.FloatBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueWriteBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_write, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.IntBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueWriteBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_write, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.LongBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL11.clEnqueueWriteBufferRect(CLCommandQueue command_queue, CLMem buffer, int blocking_write, PointerBuffer buffer_offset, PointerBuffer host_offset, PointerBuffer region, long buffer_row_pitch, long buffer_slice_pitch, long host_row_pitch, long host_slice_pitch, java.nio.ShortBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueWriteImage(CLCommandQueue command_queue, CLMem image, int blocking_write, PointerBuffer origin, PointerBuffer region, long input_row_pitch, long input_slice_pitch, java.nio.ByteBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueWriteImage(CLCommandQueue command_queue, CLMem image, int blocking_write, PointerBuffer origin, PointerBuffer region, long input_row_pitch, long input_slice_pitch, java.nio.FloatBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueWriteImage(CLCommandQueue command_queue, CLMem image, int blocking_write, PointerBuffer origin, PointerBuffer region, long input_row_pitch, long input_slice_pitch, java.nio.IntBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10.clEnqueueWriteImage(CLCommandQueue command_queue, CLMem image, int blocking_write, PointerBuffer origin, PointerBuffer region, long input_row_pitch, long input_slice_pitch, java.nio.ShortBuffer ptr, PointerBuffer event_wait_list, PointerBuffer event)`
`static int` `CL10GL.clGetGLObjectInfo(CLMem memobj, java.nio.IntBuffer gl_object_type, java.nio.IntBuffer gl_object_name)`
`static int` `CL10GL.clGetGLTextureInfo(CLMem memobj, int param_name, java.nio.ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int` `CL10.clGetImageInfo(CLMem image, int param_name, java.nio.ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int` `CL10.clGetMemObjectInfo(CLMem memobj, int param_name, java.nio.ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int` `CL10.clReleaseMemObject(CLMem memobj)`
`static int` `CL10.clRetainMemObject(CLMem memobj)`
`static int` `APPLESetMemObjectDestructor.clSetMemObjectDestructorAPPLE(CLMem memobj, CLMemObjectDestructorCallback pfn_notify)`
`static int` `CL11.clSetMemObjectDestructorCallback(CLMem memobj, CLMemObjectDestructorCallback pfn_notify)`

Copyright © 2002-2009 lwjgl.org. All Rights Reserved.