Show / Hide Table of Contents

Class Wgl.Arb

Inheritance
object
Wgl.Arb
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenTK.Graphics.Wgl
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
Type Description
bool

ChoosePixelFormat(IntPtr, int[], float[], int, int[], out int)

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
Type Description
bool

ChoosePixelFormat(IntPtr, ref int, ref float, int, out int, out int)

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
Type Description
bool

CreateContextAttribs(IntPtr, IntPtr, int[])

Declaration
public static IntPtr CreateContextAttribs(IntPtr hDC, IntPtr hShareContext, int[] attribList)
Parameters
Type Name Description
IntPtr hDC
IntPtr hShareContext
int[] attribList
Returns
Type Description
IntPtr

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
Type Description
IntPtr

CreatePbuffer(IntPtr, int, int, int, ref int)

Declaration
public static IntPtr CreatePbuffer(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, ref int piAttribList)
Parameters
Type Name Description
IntPtr hDC
int iPixelFormat
int iWidth
int iHeight
int piAttribList
Returns
Type Description
IntPtr

DestroyPbuffer(IntPtr)

Declaration
public static bool DestroyPbuffer(IntPtr hPbuffer)
Parameters
Type Name Description
IntPtr hPbuffer
Returns
Type Description
bool

GetCurrentReadDC()

Declaration
public static IntPtr GetCurrentReadDC()
Returns
Type Description
IntPtr

GetExtensionsString(IntPtr)

Declaration
public static string GetExtensionsString(IntPtr hdc)
Parameters
Type Name Description
IntPtr hdc
Returns
Type Description
string

GetPbufferDC(IntPtr)

Declaration
public static IntPtr GetPbufferDC(IntPtr hPbuffer)
Parameters
Type Name Description
IntPtr hPbuffer
Returns
Type Description
IntPtr

GetPixelFormatAttrib(IntPtr, int, int, int, int[], int[])

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
Type Description
bool

GetPixelFormatAttrib(IntPtr, int, int, int, int[], float[])

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
Type Description
bool

GetPixelFormatAttrib(IntPtr, int, int, int, ref int, out int)

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
Type Description
bool

GetPixelFormatAttrib(IntPtr, int, int, int, ref int, out float)

Declaration
public static bool GetPixelFormatAttrib(IntPtr hdc, int iPixelFormat, int iLayerPlane, int nAttributes, ref int piAttributes, out float pfValues)
Parameters
Type Name Description
IntPtr hdc
int iPixelFormat
int iLayerPlane
int nAttributes
int piAttributes
float pfValues
Returns
Type Description
bool

MakeContextCurrent(IntPtr, IntPtr, IntPtr)

Declaration
public static bool MakeContextCurrent(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc)
Parameters
Type Name Description
IntPtr hDrawDC
IntPtr hReadDC
IntPtr hglrc
Returns
Type Description
bool

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
Type Description
bool

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
Type Description
bool

ReleasePbufferDC(IntPtr, IntPtr)

Declaration
public static int ReleasePbufferDC(IntPtr hPbuffer, IntPtr hDC)
Parameters
Type Name Description
IntPtr hPbuffer
IntPtr hDC
Returns
Type Description
int

ReleaseTexImage(IntPtr, int)

Declaration
public static bool ReleaseTexImage(IntPtr hPbuffer, int iBuffer)
Parameters
Type Name Description
IntPtr hPbuffer
int iBuffer
Returns
Type Description
bool

SetPbufferAttrib(IntPtr, int[])

Declaration
public static bool SetPbufferAttrib(IntPtr hPbuffer, int[] piAttribList)
Parameters
Type Name Description
IntPtr hPbuffer
int[] piAttribList
Returns
Type Description
bool

SetPbufferAttrib(IntPtr, ref int)

Declaration
public static bool SetPbufferAttrib(IntPtr hPbuffer, ref int piAttribList)
Parameters
Type Name Description
IntPtr hPbuffer
int piAttribList
Returns
Type Description
bool
In This Article
Back to top Generated by DocFX