Class Wgl.Arb
Assembly: OpenTK.Graphics.dll
Syntax
public static class Wgl.Arb
Methods
BindTexImage(IntPtr, int)
Declaration
public static bool BindTexImage(IntPtr hPbuffer, int iBuffer)
Parameters
| Type |
Name |
Description |
| IntPtr |
hPbuffer |
|
| int |
iBuffer |
|
Returns
Declaration
public static bool ChoosePixelFormat(IntPtr hdc, int[] piAttribIList, float[] pfAttribFList, int nMaxFormats, int[] piFormats, out int nNumFormats)
Parameters
| Type |
Name |
Description |
| IntPtr |
hdc |
|
| int[] |
piAttribIList |
|
| float[] |
pfAttribFList |
|
| int |
nMaxFormats |
|
| int[] |
piFormats |
|
| int |
nNumFormats |
|
Returns
Declaration
public static bool ChoosePixelFormat(IntPtr hdc, ref int piAttribIList, ref float pfAttribFList, int nMaxFormats, out int piFormats, out int nNumFormats)
Parameters
| Type |
Name |
Description |
| IntPtr |
hdc |
|
| int |
piAttribIList |
|
| float |
pfAttribFList |
|
| int |
nMaxFormats |
|
| int |
piFormats |
|
| int |
nNumFormats |
|
Returns
CreateContextAttribs(IntPtr, IntPtr, int[])
Declaration
public static IntPtr CreateContextAttribs(IntPtr hDC, IntPtr hShareContext, int[] attribList)
Parameters
Returns
CreatePbuffer(IntPtr, int, int, int, int[])
Declaration
public static IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int[] piAttribList)
Parameters
| Type |
Name |
Description |
| IntPtr |
hDC |
|
| int |
iPixelFormat |
|
| int |
iWidth |
|
| int |
iHeight |
|
| int[] |
piAttribList |
|
Returns
CreatePbuffer(IntPtr, int, int, int, ref int)
Declaration
public static IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, ref int piAttribList)
Parameters
Returns
DestroyPbuffer(IntPtr)
Declaration
public static bool DestroyPbuffer(IntPtr hPbuffer)
Parameters
| Type |
Name |
Description |
| IntPtr |
hPbuffer |
|
Returns
GetCurrentReadDC()
Declaration
public static IntPtr GetCurrentReadDC()
Returns
GetExtensionsString(IntPtr)
Declaration
public static string GetExtensionsString(IntPtr hdc)
Parameters
| Type |
Name |
Description |
| IntPtr |
hdc |
|
Returns
GetPbufferDC(IntPtr)
Declaration
public static IntPtr GetPbufferDC(IntPtr hPbuffer)
Parameters
| Type |
Name |
Description |
| IntPtr |
hPbuffer |
|
Returns
Declaration
public static bool GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, int nAttributes, int[] piAttributes, int[] piValues)
Parameters
| Type |
Name |
Description |
| IntPtr |
hdc |
|
| int |
iPixelFormat |
|
| int |
iLayerPlane |
|
| int |
nAttributes |
|
| int[] |
piAttributes |
|
| int[] |
piValues |
|
Returns
Declaration
[CLSCompliant(false)]
public static bool GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, int nAttributes, int[] piAttributes, float[] pfValues)
Parameters
| Type |
Name |
Description |
| IntPtr |
hdc |
|
| int |
iPixelFormat |
|
| int |
iLayerPlane |
|
| int |
nAttributes |
|
| int[] |
piAttributes |
|
| float[] |
pfValues |
|
Returns
Declaration
public static bool GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, int nAttributes, ref int piAttributes, out int piValues)
Parameters
| Type |
Name |
Description |
| IntPtr |
hdc |
|
| int |
iPixelFormat |
|
| int |
iLayerPlane |
|
| int |
nAttributes |
|
| int |
piAttributes |
|
| int |
piValues |
|
Returns
Declaration
public static bool GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, int nAttributes, ref int piAttributes, out float pfValues)
Parameters
Returns
MakeContextCurrent(IntPtr, IntPtr, IntPtr)
Declaration
public static bool MakeContextCurrent(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc)
Parameters
Returns
QueryPbuffer(IntPtr, int, int[])
Declaration
public static bool QueryPbuffer(IntPtr hPbuffer, int iAttribute, int[] piValue)
Parameters
| Type |
Name |
Description |
| IntPtr |
hPbuffer |
|
| int |
iAttribute |
|
| int[] |
piValue |
|
Returns
QueryPbuffer(IntPtr, int, out int)
Declaration
public static bool QueryPbuffer(IntPtr hPbuffer, int iAttribute, out int piValue)
Parameters
| Type |
Name |
Description |
| IntPtr |
hPbuffer |
|
| int |
iAttribute |
|
| int |
piValue |
|
Returns
ReleasePbufferDC(IntPtr, IntPtr)
Declaration
public static int ReleasePbufferDC(IntPtr hPbuffer, IntPtr hDC)
Parameters
Returns
ReleaseTexImage(IntPtr, int)
Declaration
public static bool ReleaseTexImage(IntPtr hPbuffer, int iBuffer)
Parameters
| Type |
Name |
Description |
| IntPtr |
hPbuffer |
|
| int |
iBuffer |
|
Returns
SetPbufferAttrib(IntPtr, int[])
Declaration
public static bool SetPbufferAttrib(IntPtr hPbuffer, int[] piAttribList)
Parameters
| Type |
Name |
Description |
| IntPtr |
hPbuffer |
|
| int[] |
piAttribList |
|
Returns
SetPbufferAttrib(IntPtr, ref int)
Declaration
public static bool SetPbufferAttrib(IntPtr hPbuffer, ref int piAttribList)
Parameters
| Type |
Name |
Description |
| IntPtr |
hPbuffer |
|
| int |
piAttribList |
|
Returns