| Modifier and Type | Field and Description |
|---|---|
| public static final OpenGL32 |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The glGetString function returns a pointer to a static string describing some aspect of the current OpenGL connection.One of the following symbolic constants. name)The glGetString function returns a string describing the current OpenGL connection. |
| public WinDef. | Returns: handle to an OpenGL rendering contextHandle to a device context for which the function creates a suitable OpenGL rendering context. windowDCThe wglCreateContext function creates a new OpenGL rendering context, which is suitable for drawing on the device referenced by hdc. |
| public boolean | Returns: true if successfulHandle to an OpenGL rendering context that the function will delete. hglrcThe wglDeleteContext function deletes a specified OpenGL rendering context. |
| public WinDef. | Returns: If the calling thread has a current OpenGL rendering context, wglGetCurrentContext returns a handle to that rendering context. Otherwise, the return value is NULL.The wglGetCurrentContext function obtains a handle to the current OpenGL rendering context of the calling thread. |
| public Pointer | Returns: When the function succeeds, the return value is the address of the extension function.Points to a null-terminated string that is the name of the extension function.
The name of the extension function must be identical to a corresponding function implemented by OpenGL. lpszProc)The wglGetProcAddress function returns the address of an OpenGL extension function for use with the current OpenGL rendering context. |
| public boolean | Returns: true if successfulHandle to a device context. Subsequent OpenGL calls made by the calling thread are drawn on the
device identified by hdc. windowDC,Handle to an OpenGL rendering context that the function sets as the calling thread's rendering context. hglrcThe wglMakeCurrent function makes a specified OpenGL rendering context the calling thread's current rendering context. |
| INSTANCE | back to summary |
|---|---|
| public static final OpenGL32 INSTANCE | |
| glGetString | back to summary |
|---|---|
| public String glGetString(int name) The glGetString function returns a string describing the current OpenGL connection.
| |
| wglCreateContext | back to summary |
|---|---|
| public WinDef. The wglCreateContext function creates a new OpenGL rendering context, which is suitable for drawing on the device referenced by hdc. The rendering context has the same pixel format as the device context. | |
| wglDeleteContext | back to summary |
|---|---|
| public boolean wglDeleteContext(WinDef. The wglDeleteContext function deletes a specified OpenGL rendering context. | |
| wglGetCurrentContext | back to summary |
|---|---|
| public WinDef. The wglGetCurrentContext function obtains a handle to the current OpenGL rendering context of the calling thread. | |
| wglGetProcAddress | back to summary |
|---|---|
| public Pointer wglGetProcAddress(String lpszProc) The wglGetProcAddress function returns the address of an OpenGL extension function for use with the current OpenGL rendering context.
| |
| wglMakeCurrent | back to summary |
|---|---|
| public boolean wglMakeCurrent(WinDef. The wglMakeCurrent function makes a specified OpenGL rendering context the calling thread's current rendering context. All subsequent OpenGL calls made by the thread are drawn on the device identified by hdc.
| |