public class WGLARBPixelFormat
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static int |
WGL_ACCELERATION_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_ACCUM_ALPHA_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_ACCUM_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_ACCUM_BLUE_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_ACCUM_GREEN_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_ACCUM_RED_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_ALPHA_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_ALPHA_SHIFT_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_AUX_BUFFERS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_BLUE_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_BLUE_SHIFT_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_COLOR_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_DEPTH_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_DOUBLE_BUFFER_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_DRAW_TO_BITMAP_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_DRAW_TO_WINDOW_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_FULL_ACCELERATION_ARB
Accepted as a value in the
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB. |
static int |
WGL_GENERIC_ACCELERATION_ARB
Accepted as a value in the
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB. |
static int |
WGL_GREEN_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_GREEN_SHIFT_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_NEED_PALETTE_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_NEED_SYSTEM_PALETTE_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_NO_ACCELERATION_ARB
Accepted as a value in the
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB. |
static int |
WGL_NUMBER_OVERLAYS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_NUMBER_PIXEL_FORMATS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_NUMBER_UNDERLAYS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_PIXEL_TYPE_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_RED_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_RED_SHIFT_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_SHARE_ACCUM_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_SHARE_DEPTH_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_SHARE_STENCIL_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_STENCIL_BITS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_STEREO_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_SUPPORT_GDI_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_SUPPORT_OPENGL_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_SWAP_COPY_ARB
Accepted as a value in the
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB. |
static int |
WGL_SWAP_EXCHANGE_ARB
Accepted as a value in the
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB. |
static int |
WGL_SWAP_LAYER_BUFFERS_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_SWAP_METHOD_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_SWAP_UNDEFINED_ARB
Accepted as a value in the
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB. |
static int |
WGL_TRANSPARENT_ALPHA_VALUE_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_TRANSPARENT_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_TRANSPARENT_BLUE_VALUE_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_TRANSPARENT_GREEN_VALUE_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_TRANSPARENT_INDEX_VALUE_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_TRANSPARENT_RED_VALUE_ARB
Accepted in the
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB. |
static int |
WGL_TYPE_COLORINDEX_ARB
Accepted as a value in the
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB. |
static int |
WGL_TYPE_RGBA_ARB
Accepted as a value in the
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB. |
| Modifier and Type | Method and Description |
|---|---|
static 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,
java.nio.IntBuffer attribIList,
java.nio.FloatBuffer attribFList,
java.nio.IntBuffer formats,
java.nio.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,
java.nio.FloatBuffer values)
Float version of
GetPixelFormatAttribivARB. |
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,
java.nio.IntBuffer attributes,
java.nio.FloatBuffer values)
Float version of
GetPixelFormatAttribivARB. |
static boolean |
wglGetPixelFormatAttribiARB(long hdc,
int pixelFormat,
int layerPlane,
int attribute,
java.nio.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,
java.nio.IntBuffer attributes,
java.nio.IntBuffer values) |
public static final int WGL_NUMBER_PIXEL_FORMATS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_DRAW_TO_WINDOW_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_DRAW_TO_BITMAP_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_ACCELERATION_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_NEED_PALETTE_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_NEED_SYSTEM_PALETTE_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_SWAP_LAYER_BUFFERS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_SWAP_METHOD_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_NUMBER_OVERLAYS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_NUMBER_UNDERLAYS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_TRANSPARENT_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_TRANSPARENT_RED_VALUE_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_TRANSPARENT_GREEN_VALUE_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_TRANSPARENT_BLUE_VALUE_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_TRANSPARENT_ALPHA_VALUE_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_TRANSPARENT_INDEX_VALUE_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_SHARE_DEPTH_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_SHARE_STENCIL_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_SHARE_ACCUM_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_SUPPORT_GDI_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_SUPPORT_OPENGL_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_DOUBLE_BUFFER_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_STEREO_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_PIXEL_TYPE_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_COLOR_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_RED_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_RED_SHIFT_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_GREEN_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_GREEN_SHIFT_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_BLUE_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_BLUE_SHIFT_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_ALPHA_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_ALPHA_SHIFT_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_ACCUM_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_ACCUM_RED_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_ACCUM_GREEN_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_ACCUM_BLUE_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_ACCUM_ALPHA_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_DEPTH_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_STENCIL_BITS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_AUX_BUFFERS_ARB
attributes parameter array of GetPixelFormatAttribivARB, and GetPixelFormatAttribfvARB, and as a type in
the attribIList and attribFList parameter arrays of ChoosePixelFormatARB.public static final int WGL_NO_ACCELERATION_ARB
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB.public static final int WGL_GENERIC_ACCELERATION_ARB
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB.public static final int WGL_FULL_ACCELERATION_ARB
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB.public static final int WGL_SWAP_EXCHANGE_ARB
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB.public static final int WGL_SWAP_COPY_ARB
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB.public static final int WGL_SWAP_UNDEFINED_ARB
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB.public static final int WGL_TYPE_RGBA_ARB
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB.public static final int WGL_TYPE_COLORINDEX_ARB
attribIList and attribFList parameter arrays of ChoosePixelFormatARB, and returned in the
values parameter array of GetPixelFormatAttribivARB and GetPixelFormatAttribfvARB.public static int nwglGetPixelFormatAttribivARB(long hdc,
int pixelFormat,
int layerPlane,
int n,
long attributes,
long values)
GetPixelFormatAttribivARBn - the number of attributes being queriedpublic static boolean wglGetPixelFormatAttribivARB(long hdc,
int pixelFormat,
int layerPlane,
java.nio.IntBuffer attributes,
java.nio.IntBuffer values)
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 placedpublic static boolean wglGetPixelFormatAttribiARB(long hdc,
int pixelFormat,
int layerPlane,
int attribute,
java.nio.IntBuffer values)
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 placedpublic static int nwglGetPixelFormatAttribfvARB(long hdc,
int pixelFormat,
int layerPlane,
int n,
long attributes,
long values)
GetPixelFormatAttribfvARBn - the number of attributes being queriedpublic static boolean wglGetPixelFormatAttribfvARB(long hdc,
int pixelFormat,
int layerPlane,
java.nio.IntBuffer attributes,
java.nio.FloatBuffer values)
GetPixelFormatAttribivARB.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 placedpublic static boolean wglGetPixelFormatAttribfARB(long hdc,
int pixelFormat,
int layerPlane,
int attribute,
java.nio.FloatBuffer values)
GetPixelFormatAttribivARB.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 placedpublic static int nwglChoosePixelFormatARB(long hdc,
long attribIList,
long attribFList,
int maxFormats,
long formats,
long numFormats)
ChoosePixelFormatARBmaxFormats - the number of attributes being queriedpublic static boolean wglChoosePixelFormatARB(long hdc,
@Nullable
java.nio.IntBuffer attribIList,
@Nullable
java.nio.FloatBuffer attribFList,
java.nio.IntBuffer formats,
java.nio.IntBuffer numFormats)
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 formatspublic static boolean wglGetPixelFormatAttribivARB(long hdc,
int pixelFormat,
int layerPlane,
int[] attributes,
int[] values)
GetPixelFormatAttribivARBpublic static boolean wglGetPixelFormatAttribfvARB(long hdc,
int pixelFormat,
int layerPlane,
int[] attributes,
float[] values)
GetPixelFormatAttribfvARBpublic static boolean wglChoosePixelFormatARB(long hdc,
@Nullable
int[] attribIList,
@Nullable
float[] attribFList,
int[] formats,
int[] numFormats)
ChoosePixelFormatARBCopyright LWJGL. All Rights Reserved. License terms.