# Uses of Class
org.lwjgl.opengl.PixelFormat

Packages that use PixelFormat
Package
Description
org.lwjgl.opengl

## Uses of PixelFormat in org.lwjgl.opengl

Fields in org.lwjgl.opengl declared as PixelFormat
Modifier and Type
Field
Description
`protected PixelFormat`
DrawableGL.`pixel_format`
The PixelFormat used to create the drawable.
`protected PixelFormat`
DrawableGL.`pixel_format`
The PixelFormat used to create the drawable.
Methods in org.lwjgl.opengl that return PixelFormat
Modifier and Type
Method
Description
`PixelFormat`
PixelFormat.`withAccumulationAlpha(int accum_alpha)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new alpha bits in the accumulation buffer value.
`PixelFormat`
PixelFormat.`withAccumulationBitsPerPixel(int accum_bpp)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new bits per pixel in the accumulation buffer value.
`PixelFormat`
PixelFormat.`withAlphaBits(int alpha)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new alpha bits value.
`PixelFormat`
PixelFormat.`withAuxBuffers(int num_aux_buffers)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new auxiliary buffers value.
`PixelFormat`
PixelFormat.`withBitsPerPixel(int bpp)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new bits per pixel value.
`PixelFormat`
PixelFormat.`withCoverageSamples(int colorSamples)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new color samples values.
`PixelFormat`
PixelFormat.`withCoverageSamples(int colorSamples, int coverageSamples)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new color samples and coverage samples values.
`PixelFormat`
PixelFormat.`withDepthBits(int depth)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new depth bits value.
`PixelFormat`
PixelFormat.`withFloatingPoint(boolean floating_point)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new floating point value.
`PixelFormat`
PixelFormat.`withFloatingPointPacked(boolean floating_point_packed)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new packed floating point value.
`PixelFormat`
PixelFormat.`withSamples(int samples)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new samples value.
`PixelFormat`
PixelFormat.`withSRGB(boolean sRGB)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new sRGB value.
`PixelFormat`
PixelFormat.`withStencilBits(int stencil)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new stencil bits value.
`PixelFormat`
PixelFormat.`withStereo(boolean stereo)`
Returns a new PixelFormat object with the same properties as this PixelFormat and the new stereo value.
Methods in org.lwjgl.opengl with parameters of type PixelFormat
Modifier and Type
Method
Description
`static void`
Display.`create(PixelFormat pixel_format)`
Create the OpenGL context with the given minimum parameters.
`static void`
Display.`create(PixelFormat pixel_format, ContextAttribs attribs)`
Create the OpenGL context with the given minimum parameters.
`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.
Constructors in org.lwjgl.opengl with parameters of type PixelFormat
Modifier
Constructor
Description
``
`AWTGLCanvas(GraphicsDevice device, PixelFormat pixel_format)`
Create an AWTGLCanvas with the requested PixelFormat on the default GraphicsDevice.
``
`AWTGLCanvas(GraphicsDevice device, PixelFormat pixel_format, Drawable drawable)`
Create an AWTGLCanvas with the requested PixelFormat on the specified GraphicsDevice.
``
`AWTGLCanvas(GraphicsDevice device, PixelFormat pixel_format, Drawable drawable, ContextAttribs attribs)`
Create an AWTGLCanvas with the requested PixelFormat on the specified GraphicsDevice.
``
`AWTGLCanvas(PixelFormat pixel_format)`
Create an AWTGLCanvas with the requested PixelFormat on the default 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.