# Uses of Class
org.lwjgl.opengles.PixelFormat

Packages that use PixelFormat
Package
Description
org.lwjgl.opengles

## Uses of PixelFormat in org.lwjgl.opengles

Methods in org.lwjgl.opengles that return PixelFormat
Modifier and Type
Method
Description
`PixelFormat`
PixelFormat.`withAlphaSize(int alphaSize)`
Returns a new PixelFormat with the specified EGL_ALPHA_SIZE.
`PixelFormat`
PixelFormat.`withCoverageSamplesNV(int samples)`
Returns a new PixelFormat with the specified number of EGL_COVERAGE_SAMPLES_NV.
`PixelFormat`
PixelFormat.`withDepthEncodingNonlinearNV(int depthEncoding)`
Returns a new PixelFormat with the specified EGL_DEPTH_ENCODING_NONLINEAR_NV.
`PixelFormat`
PixelFormat.`withDepthSize(int depthSize)`
Returns a new PixelFormat with the specified EGL_DEPTH_SIZE.
`PixelFormat`
PixelFormat.`withLuminanceSize(int luminanceSize)`
Returns a new PixelFormat with the specified EGL_LUMINANCE_SIZE.
`PixelFormat`
PixelFormat.`withMaxSwapInterval(int maxSwapInterval)`
Returns a new PixelFormat with the specified EGL_MAX_SWAP_INTERVAL.
`PixelFormat`
PixelFormat.`withMinSwapInterval(int minSwapInterval)`
Returns a new PixelFormat with the specified EGL_MIN_SWAP_INTERVAL.
`PixelFormat`
PixelFormat.`withMultisampleResolve(int multisampleResolve)`
Returns a new PixelFormat with the specified EGL_MULTISAMPLE_RESOLVE value.
`PixelFormat`
PixelFormat.`withRGBSize(int rgb)`
Returns a new PixelFormat with the specified RGB sizes.
`PixelFormat`
PixelFormat.`withRGBSize(int r, int g, int b)`
Returns a new PixelFormat with the specified EGL_RED_SIZE, EGL_GREEN_SIZE and EGL_BLUE_SIZE.
`PixelFormat`
PixelFormat.`withSamples(int samples)`
Returns a new PixelFormat with the specified number of EGL_SAMPLES.
`PixelFormat`
PixelFormat.`withStencilSize(int stencilSize)`
Returns a new PixelFormat with the specified EGL_STENCIL_SIZE.
`PixelFormat`
PixelFormat.`withSwapBehavior(int swapBehavior)`
Returns a new PixelFormat with the specified EGL_SWAP_BEHAVIOR value.
`PixelFormat`
PixelFormat.`withTransparentType(int transparentType, int r, int g, int b)`
Returns a new PixelFormat with the specified EGL_TRANSPARENT_TYPE and the specified transparent RGB values.