# Uses of Interface org.lwjgl.opengl.Drawable (LWJGL API)
Date: 2015-07-28

## Uses of Interface
org.lwjgl.opengl.Drawable

Packages that use Drawable
org.lwjgl.opencl
org.lwjgl.opengl

Uses of Drawable in org.lwjgl.opencl

Methods in org.lwjgl.opencl with parameters of type Drawable
`static CLContext` `CLContext.create(CLPlatform platform, java.util.List<CLDevice> devices, CLContextCallback pfn_notify, Drawable share_drawable, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.createFromType(CLPlatform platform, long device_type, CLContextCallback pfn_notify, Drawable share_drawable, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.

Uses of Drawable in org.lwjgl.opengl

Methods in org.lwjgl.opengl that return Drawable
`static Drawable` `Display.getDrawable()` Fetch the Drawable from the Display.

Methods in org.lwjgl.opengl with parameters of type Drawable
`static void` `Display.create(PixelFormat pixel_format, Drawable shared_drawable)` Create the OpenGL context with the given minimum parameters.
`static void` `Display.create(PixelFormat pixel_format, Drawable shared_drawable, ContextAttribs attribs)` Create the OpenGL context with the given minimum parameters.
`static void` `Display.create(PixelFormatLWJGL pixel_format, Drawable shared_drawable)` Create the OpenGL ES context with the given minimum parameters.
`static void` `Display.create(PixelFormatLWJGL pixel_format, Drawable shared_drawable, ContextAttribs attribs)` Create the OpenGL ES context with the given minimum parameters.

Constructors in org.lwjgl.opengl with parameters of type Drawable
`AWTGLCanvas(java.awt.GraphicsDevice device, PixelFormat pixel_format, Drawable drawable)` Create an AWTGLCanvas with the requested PixelFormat on the specified GraphicsDevice.
`AWTGLCanvas(java.awt.GraphicsDevice device, PixelFormat pixel_format, Drawable drawable, ContextAttribs attribs)` Create an AWTGLCanvas with the requested PixelFormat on the specified GraphicsDevice.
`Pbuffer(int width, int height, PixelFormat pixel_format, Drawable shared_drawable)` Create an instance of a Pbuffer with a unique OpenGL context.
`Pbuffer(int width, int height, PixelFormat pixel_format, RenderTexture renderTexture, Drawable shared_drawable)` Create an instance of a Pbuffer with a unique OpenGL context.
`Pbuffer(int width, int height, PixelFormat pixel_format, RenderTexture renderTexture, Drawable shared_drawable, ContextAttribs attribs)` Create an instance of a Pbuffer with a unique OpenGL context.
`SharedDrawable(Drawable drawable)`

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