Class CL12GL



  • public class CL12GL
    extends java.lang.Object
    The OpenCL 1.2 OpenGL interoperability functionality.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static long clCreateFromGLTexture(long context, long flags, int texture_target, int miplevel, int texture, int[] errcode_ret)
      Array version of: CreateFromGLTexture
      static long clCreateFromGLTexture(long context, long flags, int texture_target, int miplevel, int texture, java.nio.IntBuffer errcode_ret)
      Creates one of the following: an OpenCL 2D image object from an OpenGL 2D texture object or a single face of an OpenGL cubemap texture object, an OpenCL 2D image array object from an OpenGL 2D texture array object, an OpenCL 1D image object from an OpenGL 1D texture object, an OpenCL 1D image buffer object from an OpenGL texture buffer object, an OpenCL 1D image array object from an OpenGL 1D texture array object, an OpenCL 3D image object from an OpenGL 3D texture object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CL_GL_OBJECT_TEXTURE_2D_ARRAY

        public static final int CL_GL_OBJECT_TEXTURE_2D_ARRAY
        cl_gl_object_type
        See Also:
        Constant Field Values
      • CL_GL_OBJECT_TEXTURE1D

        public static final int CL_GL_OBJECT_TEXTURE1D
        cl_gl_object_type
        See Also:
        Constant Field Values
      • CL_GL_OBJECT_TEXTURE1D_ARRAY

        public static final int CL_GL_OBJECT_TEXTURE1D_ARRAY
        cl_gl_object_type
        See Also:
        Constant Field Values
      • CL_GL_OBJECT_TEXTURE_BUFFER

        public static final int CL_GL_OBJECT_TEXTURE_BUFFER
        cl_gl_object_type
        See Also:
        Constant Field Values
    • Method Detail

      • clCreateFromGLTexture

        public static long clCreateFromGLTexture(long context,
                                                 long flags,
                                                 int texture_target,
                                                 int miplevel,
                                                 int texture,
                                                 int[] errcode_ret)
        Array version of: CreateFromGLTexture