public class WGL extends Platform
Constructor and Description |
---|
WGL() |
Modifier and Type | Method and Description |
---|---|
static int |
ChoosePixelFormat(long hdc,
PIXELFORMATDESCRIPTOR ppfd) |
static int |
DescribePixelFormat(long hdc,
int iPixelFormat,
int nBytes,
PIXELFORMATDESCRIPTOR ppfd) |
static int |
GetPixelFormat(long hdc) |
static boolean |
SetPixelFormat(long hdc,
int iPixelFormat,
PIXELFORMATDESCRIPTOR ppfd) |
static boolean |
SwapBuffers(long hdc) |
static boolean |
wglCopyContext(long hglrcSrc,
long hglrcDst,
int mask) |
static long |
wglCreateContext(long hdc) |
static long |
wglCreateLayerContext(long hdc,
int iLayerPlane) |
static boolean |
wglDeleteContext(long hglrc) |
static boolean |
wglDescribeLayerPlane(long hdc,
int iPixelFormat,
int iLayerPlane,
int nBytes,
LAYERPLANEDESCRIPTOR plpd) |
static long |
wglGetCurrentContext() |
static long |
wglGetCurrentDC() |
static int |
wglGetLayerPaletteEntries(long hdc,
int iLayerPlane,
int iStart,
int cEntries,
int[] pcr) |
static long |
wglGetProcAddress(byte[] lpszProc) |
static boolean |
wglMakeCurrent(long hdc,
long hglrc) |
static boolean |
wglRealizeLayerPalette(long hdc,
int iLayerPlane,
boolean bRealize) |
static int |
wglSetLayerPaletteEntries(long hdc,
int iLayerPlane,
int iStart,
int cEntries,
int[] pcr) |
static boolean |
wglShareLists(long hglrc1,
long hglrc2) |
static boolean |
wglSwapLayerBuffers(long hdc,
int fuPlanes) |
isLoadable
public static final int WGL_FONT_LINES
public static final int WGL_FONT_POLYGONS
public static final int LPD_DOUBLEBUFFER
public static final int LPD_STEREO
public static final int LPD_SUPPORT_GDI
public static final int LPD_SUPPORT_OPENGL
public static final int LPD_SHARE_DEPTH
public static final int LPD_SHARE_STENCIL
public static final int LPD_SHARE_ACCUM
public static final int LPD_SWAP_EXCHANGE
public static final int LPD_SWAP_COPY
public static final int LPD_TRANSPARENT
public static final int LPD_TYPE_RGBA
public static final int LPD_TYPE_COLORINDEX
public static final int WGL_SWAP_MAIN_PLANE
public static final int WGL_SWAP_OVERLAY1
public static final int WGL_SWAP_OVERLAY2
public static final int WGL_SWAP_OVERLAY3
public static final int WGL_SWAP_OVERLAY4
public static final int WGL_SWAP_OVERLAY5
public static final int WGL_SWAP_OVERLAY6
public static final int WGL_SWAP_OVERLAY7
public static final int WGL_SWAP_OVERLAY8
public static final int WGL_SWAP_OVERLAY9
public static final int WGL_SWAP_OVERLAY10
public static final int WGL_SWAP_OVERLAY11
public static final int WGL_SWAP_OVERLAY12
public static final int WGL_SWAP_OVERLAY13
public static final int WGL_SWAP_OVERLAY14
public static final int WGL_SWAP_OVERLAY15
public static final int WGL_SWAP_UNDERLAY1
public static final int WGL_SWAP_UNDERLAY2
public static final int WGL_SWAP_UNDERLAY3
public static final int WGL_SWAP_UNDERLAY4
public static final int WGL_SWAP_UNDERLAY5
public static final int WGL_SWAP_UNDERLAY6
public static final int WGL_SWAP_UNDERLAY7
public static final int WGL_SWAP_UNDERLAY8
public static final int WGL_SWAP_UNDERLAY9
public static final int WGL_SWAP_UNDERLAY10
public static final int WGL_SWAP_UNDERLAY11
public static final int WGL_SWAP_UNDERLAY12
public static final int WGL_SWAP_UNDERLAY13
public static final int WGL_SWAP_UNDERLAY14
public static final int WGL_SWAP_UNDERLAY15
public static final int PFD_TYPE_RGBA
public static final int PFD_TYPE_COLORINDEX
public static final int PFD_MAIN_PLANE
public static final int PFD_OVERLAY_PLANE
public static final int PFD_UNDERLAY_PLANE
public static final int PFD_DOUBLEBUFFER
public static final int PFD_STEREO
public static final int PFD_DRAW_TO_WINDOW
public static final int PFD_DRAW_TO_BITMAP
public static final int PFD_SUPPORT_GDI
public static final int PFD_SUPPORT_OPENGL
public static final int PFD_GENERIC_FORMAT
public static final int PFD_NEED_PALETTE
public static final int PFD_NEED_SYSTEM_PALETTE
public static final int PFD_SWAP_EXCHANGE
public static final int PFD_SWAP_COPY
public static final int PFD_SWAP_LAYER_BUFFERS
public static final int PFD_GENERIC_ACCELERATED
public static final int PFD_SUPPORT_DIRECTDRAW
public static final int PFD_DEPTH_DONTCARE
public static final int PFD_DOUBLEBUFFER_DONTCARE
public static final int PFD_STEREO_DONTCARE
public static final int ChoosePixelFormat(long hdc, PIXELFORMATDESCRIPTOR ppfd)
hdc
- cast=(HDC)public static final int DescribePixelFormat(long hdc, int iPixelFormat, int nBytes, PIXELFORMATDESCRIPTOR ppfd)
hdc
- cast=(HDC)public static final int GetPixelFormat(long hdc)
hdc
- cast=(HDC)public static final boolean SetPixelFormat(long hdc, int iPixelFormat, PIXELFORMATDESCRIPTOR ppfd)
hdc
- cast=(HDC)public static final boolean SwapBuffers(long hdc)
hdc
- cast=(HDC)public static final boolean wglCopyContext(long hglrcSrc, long hglrcDst, int mask)
hglrcSrc
- cast=(HGLRC)hglrcDst
- cast=(HGLRC)public static final long wglCreateContext(long hdc)
hdc
- cast=(HDC)public static final long wglCreateLayerContext(long hdc, int iLayerPlane)
hdc
- cast=(HDC)public static final boolean wglDeleteContext(long hglrc)
hglrc
- cast=(HGLRC)public static final long wglGetCurrentContext()
public static final long wglGetCurrentDC()
public static final long wglGetProcAddress(byte[] lpszProc)
public static final boolean wglMakeCurrent(long hdc, long hglrc)
hdc
- cast=(HDC)hglrc
- cast=(HGLRC)public static final boolean wglShareLists(long hglrc1, long hglrc2)
hglrc1
- cast=(HGLRC)hglrc2
- cast=(HGLRC)public static final boolean wglDescribeLayerPlane(long hdc, int iPixelFormat, int iLayerPlane, int nBytes, LAYERPLANEDESCRIPTOR plpd)
hdc
- cast=(HDC)public static final int wglSetLayerPaletteEntries(long hdc, int iLayerPlane, int iStart, int cEntries, int[] pcr)
hdc
- cast=(HDC)pcr
- cast=(COLORREF *)public static final int wglGetLayerPaletteEntries(long hdc, int iLayerPlane, int iStart, int cEntries, int[] pcr)
hdc
- cast=(HDC)pcr
- cast=(COLORREF *)public static final boolean wglRealizeLayerPalette(long hdc, int iLayerPlane, boolean bRealize)
hdc
- cast=(HDC)public static final boolean wglSwapLayerBuffers(long hdc, int fuPlanes)
hdc
- cast=(HDC)Copyright © 2017. All Rights Reserved.