Package org.lwjgl.opengl
Class WGLARBPixelFormat
java.lang.Object
org.lwjgl.opengl.WGLARBPixelFormat
Native bindings to the WGL_ARB_pixel_format extension.
This extension adds functions to query pixel format attributes and to choose from the list of supported pixel formats.
These functions treat pixel formats as opaque types: attributes are specified by name rather than by accessing them directly as fields in a structure. Thus the list of attributes can be easily extended.
Requires WGL_ARB_extensions_string
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.static final int
Accepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.static final int
Accepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.static final int
Accepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.static final int
Accepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
. -
Method Summary
Modifier and TypeMethodDescriptionstatic int
nwglChoosePixelFormatARB
(long hdc, long attribIList, long attribFList, int maxFormats, long formats, long numFormats) Unsafe version of:ChoosePixelFormatARB
static int
nwglGetPixelFormatAttribfvARB
(long hdc, int pixelFormat, int layerPlane, int n, long attributes, long values) Unsafe version of:GetPixelFormatAttribfvARB
static int
nwglGetPixelFormatAttribivARB
(long hdc, int pixelFormat, int layerPlane, int n, long attributes, long values) Unsafe version of:GetPixelFormatAttribivARB
static boolean
wglChoosePixelFormatARB
(long hdc, int[] attribIList, float[] attribFList, int[] formats, int[] numFormats) Array version of:ChoosePixelFormatARB
static boolean
wglChoosePixelFormatARB
(long hdc, IntBuffer attribIList, FloatBuffer attribFList, IntBuffer formats, IntBuffer numFormats) Selects from among all of the available pixel formats (including both accelerated and generic formats and non-displayable formats).static boolean
wglGetPixelFormatAttribfARB
(long hdc, int pixelFormat, int layerPlane, int attribute, FloatBuffer values) Float version ofGetPixelFormatAttribivARB
.static boolean
wglGetPixelFormatAttribfvARB
(long hdc, int pixelFormat, int layerPlane, int[] attributes, float[] values) Array version of:GetPixelFormatAttribfvARB
static boolean
wglGetPixelFormatAttribfvARB
(long hdc, int pixelFormat, int layerPlane, IntBuffer attributes, FloatBuffer values) Float version ofGetPixelFormatAttribivARB
.static boolean
wglGetPixelFormatAttribiARB
(long hdc, int pixelFormat, int layerPlane, int attribute, IntBuffer values) static boolean
wglGetPixelFormatAttribivARB
(long hdc, int pixelFormat, int layerPlane, int[] attributes, int[] values) Array version of:GetPixelFormatAttribivARB
static boolean
wglGetPixelFormatAttribivARB
(long hdc, int pixelFormat, int layerPlane, IntBuffer attributes, IntBuffer values)
-
Field Details
-
WGL_NUMBER_PIXEL_FORMATS_ARB
public static final int WGL_NUMBER_PIXEL_FORMATS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_DRAW_TO_WINDOW_ARB
public static final int WGL_DRAW_TO_WINDOW_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_DRAW_TO_BITMAP_ARB
public static final int WGL_DRAW_TO_BITMAP_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_ACCELERATION_ARB
public static final int WGL_ACCELERATION_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_NEED_PALETTE_ARB
public static final int WGL_NEED_PALETTE_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_NEED_SYSTEM_PALETTE_ARB
public static final int WGL_NEED_SYSTEM_PALETTE_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_SWAP_LAYER_BUFFERS_ARB
public static final int WGL_SWAP_LAYER_BUFFERS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_SWAP_METHOD_ARB
public static final int WGL_SWAP_METHOD_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_NUMBER_OVERLAYS_ARB
public static final int WGL_NUMBER_OVERLAYS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_NUMBER_UNDERLAYS_ARB
public static final int WGL_NUMBER_UNDERLAYS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_TRANSPARENT_ARB
public static final int WGL_TRANSPARENT_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_TRANSPARENT_RED_VALUE_ARB
public static final int WGL_TRANSPARENT_RED_VALUE_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_TRANSPARENT_GREEN_VALUE_ARB
public static final int WGL_TRANSPARENT_GREEN_VALUE_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_TRANSPARENT_BLUE_VALUE_ARB
public static final int WGL_TRANSPARENT_BLUE_VALUE_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_TRANSPARENT_ALPHA_VALUE_ARB
public static final int WGL_TRANSPARENT_ALPHA_VALUE_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_TRANSPARENT_INDEX_VALUE_ARB
public static final int WGL_TRANSPARENT_INDEX_VALUE_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_SHARE_DEPTH_ARB
public static final int WGL_SHARE_DEPTH_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_SHARE_STENCIL_ARB
public static final int WGL_SHARE_STENCIL_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_SHARE_ACCUM_ARB
public static final int WGL_SHARE_ACCUM_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_SUPPORT_GDI_ARB
public static final int WGL_SUPPORT_GDI_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_SUPPORT_OPENGL_ARB
public static final int WGL_SUPPORT_OPENGL_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_DOUBLE_BUFFER_ARB
public static final int WGL_DOUBLE_BUFFER_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_STEREO_ARB
public static final int WGL_STEREO_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_PIXEL_TYPE_ARB
public static final int WGL_PIXEL_TYPE_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_COLOR_BITS_ARB
public static final int WGL_COLOR_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_RED_BITS_ARB
public static final int WGL_RED_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_RED_SHIFT_ARB
public static final int WGL_RED_SHIFT_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_GREEN_BITS_ARB
public static final int WGL_GREEN_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_GREEN_SHIFT_ARB
public static final int WGL_GREEN_SHIFT_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_BLUE_BITS_ARB
public static final int WGL_BLUE_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_BLUE_SHIFT_ARB
public static final int WGL_BLUE_SHIFT_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_ALPHA_BITS_ARB
public static final int WGL_ALPHA_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_ALPHA_SHIFT_ARB
public static final int WGL_ALPHA_SHIFT_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_ACCUM_BITS_ARB
public static final int WGL_ACCUM_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_ACCUM_RED_BITS_ARB
public static final int WGL_ACCUM_RED_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_ACCUM_GREEN_BITS_ARB
public static final int WGL_ACCUM_GREEN_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_ACCUM_BLUE_BITS_ARB
public static final int WGL_ACCUM_BLUE_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_ACCUM_ALPHA_BITS_ARB
public static final int WGL_ACCUM_ALPHA_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_DEPTH_BITS_ARB
public static final int WGL_DEPTH_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_STENCIL_BITS_ARB
public static final int WGL_STENCIL_BITS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_AUX_BUFFERS_ARB
public static final int WGL_AUX_BUFFERS_ARBAccepted in theattributes
parameter array ofGetPixelFormatAttribivARB
, andGetPixelFormatAttribfvARB
, and as a type in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
.- See Also:
-
WGL_NO_ACCELERATION_ARB
public static final int WGL_NO_ACCELERATION_ARBAccepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.- See Also:
-
WGL_GENERIC_ACCELERATION_ARB
public static final int WGL_GENERIC_ACCELERATION_ARBAccepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.- See Also:
-
WGL_FULL_ACCELERATION_ARB
public static final int WGL_FULL_ACCELERATION_ARBAccepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.- See Also:
-
WGL_SWAP_EXCHANGE_ARB
public static final int WGL_SWAP_EXCHANGE_ARBAccepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.- See Also:
-
WGL_SWAP_COPY_ARB
public static final int WGL_SWAP_COPY_ARBAccepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.- See Also:
-
WGL_SWAP_UNDEFINED_ARB
public static final int WGL_SWAP_UNDEFINED_ARBAccepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.- See Also:
-
WGL_TYPE_RGBA_ARB
public static final int WGL_TYPE_RGBA_ARBAccepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.- See Also:
-
WGL_TYPE_COLORINDEX_ARB
public static final int WGL_TYPE_COLORINDEX_ARBAccepted as a value in theattribIList
andattribFList
parameter arrays ofChoosePixelFormatARB
, and returned in thevalues
parameter array ofGetPixelFormatAttribivARB
andGetPixelFormatAttribfvARB
.- See Also:
-
-
Method Details
-
nwglGetPixelFormatAttribivARB
public static int nwglGetPixelFormatAttribivARB(long hdc, int pixelFormat, int layerPlane, int n, long attributes, long values) Unsafe version of:GetPixelFormatAttribivARB
- Parameters:
n
- the number of attributes being queried
-
wglGetPixelFormatAttribivARB
public static boolean wglGetPixelFormatAttribivARB(long hdc, int pixelFormat, int layerPlane, IntBuffer attributes, IntBuffer values) - Parameters:
hdc
- the device context on which the pixel format is supportedpixelFormat
- an index that specifies the pixel formatlayerPlane
- the plane being queriedattributes
- an array of pixel format attribute identifiers which specify the attributes to be queried. One of:values
- a buffer into which the results of the query will be placed
-
wglGetPixelFormatAttribiARB
public static boolean wglGetPixelFormatAttribiARB(long hdc, int pixelFormat, int layerPlane, int attribute, IntBuffer values) - Parameters:
hdc
- the device context on which the pixel format is supportedpixelFormat
- an index that specifies the pixel formatlayerPlane
- the plane being queriedvalues
- a buffer into which the results of the query will be placed
-
nwglGetPixelFormatAttribfvARB
public static int nwglGetPixelFormatAttribfvARB(long hdc, int pixelFormat, int layerPlane, int n, long attributes, long values) Unsafe version of:GetPixelFormatAttribfvARB
- Parameters:
n
- the number of attributes being queried
-
wglGetPixelFormatAttribfvARB
public static boolean wglGetPixelFormatAttribfvARB(long hdc, int pixelFormat, int layerPlane, IntBuffer attributes, FloatBuffer values) Float version ofGetPixelFormatAttribivARB
.- Parameters:
hdc
- the device context on which the pixel format is supportedpixelFormat
- an index that specifies the pixel formatlayerPlane
- the plane being queriedattributes
- an array of pixel format attribute identifiers which specify the attributes to be queriedvalues
- a buffer into which the results of the query will be placed
-
wglGetPixelFormatAttribfARB
public static boolean wglGetPixelFormatAttribfARB(long hdc, int pixelFormat, int layerPlane, int attribute, FloatBuffer values) Float version ofGetPixelFormatAttribivARB
.- Parameters:
hdc
- the device context on which the pixel format is supportedpixelFormat
- an index that specifies the pixel formatlayerPlane
- the plane being queriedvalues
- a buffer into which the results of the query will be placed
-
nwglChoosePixelFormatARB
public static int nwglChoosePixelFormatARB(long hdc, long attribIList, long attribFList, int maxFormats, long formats, long numFormats) Unsafe version of:ChoosePixelFormatARB
- Parameters:
maxFormats
- the number of attributes being queried
-
wglChoosePixelFormatARB
public static boolean wglChoosePixelFormatARB(long hdc, @Nullable IntBuffer attribIList, @Nullable FloatBuffer attribFList, IntBuffer formats, IntBuffer numFormats) Selects from among all of the available pixel formats (including both accelerated and generic formats and non-displayable formats). This function accepts attributes for the main planes. A list of pixel formats that match the specified attributes is returned with the "best" pixel formats at the start of the list (order is device dependent).- Parameters:
hdc
- the device context on which the pixel format is supportedattribIList
- a list of attribute {type, value} pairs containing integer attribute values. One of:attribFList
- a list of attribute {type, value} pairs containing floating point attribute valuesformats
- an array of returned indices of the matching pixel formats. The best pixel formats (i.e. closest match and best format for the hardware) are at the head of the list.numFormats
- returns the number of matching formats
-
wglGetPixelFormatAttribivARB
public static boolean wglGetPixelFormatAttribivARB(long hdc, int pixelFormat, int layerPlane, int[] attributes, int[] values) Array version of:GetPixelFormatAttribivARB
-
wglGetPixelFormatAttribfvARB
public static boolean wglGetPixelFormatAttribfvARB(long hdc, int pixelFormat, int layerPlane, int[] attributes, float[] values) Array version of:GetPixelFormatAttribfvARB
-
wglChoosePixelFormatARB
public static boolean wglChoosePixelFormatARB(long hdc, @Nullable int[] attribIList, @Nullable float[] attribFList, int[] formats, int[] numFormats) Array version of:ChoosePixelFormatARB
-