C# Class OpenTK.Platform.Windows.Wgl.Ext

Contains EXT extensions for WGL.
Mostrar archivo Open project: prepare/HTML-Renderer

Public Methods

Method Description
BindDisplayColorTable ( Int16 id ) : bool
CreateDisplayColorTable ( Int16 id ) : bool
CreatePbuffer ( IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int piAttribList ) : IntPtr
DestroyDisplayColorTable ( Int16 id ) : void
DestroyPbuffer ( IntPtr hPbuffer ) : System.Boolean
GetCurrentReadDC ( ) : IntPtr
GetExtensionsString ( ) : string
GetPbufferDC ( IntPtr hPbuffer ) : IntPtr
GetPixelFormatAttrib ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [ piAttributes, [ piValues ) : System.Boolean
GetSwapInterval ( ) : int
LoadDisplayColorTable ( Int16 table, Int32 length ) : bool
QueryPbuffer ( IntPtr hPbuffer, int iAttribute, [ piValue ) : System.Boolean
ReleasePbufferDC ( IntPtr hPbuffer, IntPtr hDC ) : int
SupportsExtension ( string ext ) : bool

Checks if a Wgl extension is supported by the given context.

SwapInterval ( int interval ) : System.Boolean

Private Methods

Method Description
BindDisplayColorTable ( UInt16 id ) : bool
CreateDisplayColorTable ( UInt16 id ) : bool
DestroyDisplayColorTable ( UInt16 id ) : void
GetPixelFormatAttrib ( IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [ piAttributes, [ piValues ) : System.Boolean
LoadDisplayColorTable ( UInt16 table, UInt32 length ) : bool

Method Details

BindDisplayColorTable() public static method

public static BindDisplayColorTable ( Int16 id ) : bool
id System.Int16
return bool

CreateDisplayColorTable() public static method

public static CreateDisplayColorTable ( Int16 id ) : bool
id System.Int16
return bool

CreatePbuffer() public static method

public static CreatePbuffer ( IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int piAttribList ) : IntPtr
hDC System.IntPtr
iPixelFormat int
iWidth int
iHeight int
piAttribList int
return System.IntPtr

DestroyDisplayColorTable() public static method

public static DestroyDisplayColorTable ( Int16 id ) : void
id System.Int16
return void

DestroyPbuffer() public static method

public static DestroyPbuffer ( IntPtr hPbuffer ) : System.Boolean
hPbuffer System.IntPtr
return System.Boolean

GetCurrentReadDC() public static method

public static GetCurrentReadDC ( ) : IntPtr
return System.IntPtr

GetExtensionsString() public static method

public static GetExtensionsString ( ) : string
return string

GetPbufferDC() public static method

public static GetPbufferDC ( IntPtr hPbuffer ) : IntPtr
hPbuffer System.IntPtr
return System.IntPtr

GetPixelFormatAttrib() public static method

public static GetPixelFormatAttrib ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [ piAttributes, [ piValues ) : System.Boolean
hdc System.IntPtr
iPixelFormat int
iLayerPlane int
nAttributes System.Int32
piAttributes [
piValues [
return System.Boolean

GetSwapInterval() public static method

public static GetSwapInterval ( ) : int
return int

LoadDisplayColorTable() public static method

public static LoadDisplayColorTable ( Int16 table, Int32 length ) : bool
table System.Int16
length System.Int32
return bool

QueryPbuffer() public static method

public static QueryPbuffer ( IntPtr hPbuffer, int iAttribute, [ piValue ) : System.Boolean
hPbuffer System.IntPtr
iAttribute int
piValue [
return System.Boolean

ReleasePbufferDC() public static method

public static ReleasePbufferDC ( IntPtr hPbuffer, IntPtr hDC ) : int
hPbuffer System.IntPtr
hDC System.IntPtr
return int

SupportsExtension() public static method

Checks if a Wgl extension is supported by the given context.
public static SupportsExtension ( string ext ) : bool
ext string The extension to check.
return bool

SwapInterval() public static method

public static SwapInterval ( int interval ) : System.Boolean
interval int
return System.Boolean