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

Mostrar archivo Open project: prepare/HTML-Renderer

Public Methods

Method Description
BindTexImage ( IntPtr hPbuffer, int iBuffer ) : System.Boolean
ChoosePixelFormat ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
CreateBufferRegion ( IntPtr hDC, int iLayerPlane, Int32 uType ) : IntPtr
CreatePbuffer ( IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int piAttribList ) : IntPtr
DeleteBufferRegion ( IntPtr hRegion ) : void
DestroyPbuffer ( IntPtr hPbuffer ) : System.Boolean
GetCurrentReadDC ( ) : IntPtr
GetExtensionsString ( IntPtr hdc ) : string
GetPbufferDC ( IntPtr hPbuffer ) : IntPtr
GetPixelFormatAttrib ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int piAttributes, [ piValues ) : System.Boolean
MakeContextCurrent ( IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc ) : System.Boolean
QueryPbuffer ( IntPtr hPbuffer, int iAttribute, [ piValue ) : System.Boolean
ReleasePbufferDC ( IntPtr hPbuffer, IntPtr hDC ) : int
ReleaseTexImage ( IntPtr hPbuffer, int iBuffer ) : System.Boolean
RestoreBufferRegion ( IntPtr hRegion, int x, int y, int width, int height, int xSrc, int ySrc ) : System.Boolean
SaveBufferRegion ( IntPtr hRegion, int x, int y, int width, int height ) : System.Boolean
SetPbufferAttrib ( IntPtr hPbuffer, int piAttribList ) : System.Boolean
SupportsExtension ( WinGLContext context, string ext ) : bool

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

Private Methods

Method Description
ChoosePixelFormat ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, UInt32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
CreateBufferRegion ( IntPtr hDC, int iLayerPlane, UInt32 uType ) : IntPtr
CreateContextAttribs ( IntPtr hDC, IntPtr hShareContext, int attribList ) : IntPtr
GetPixelFormatAttrib ( IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int piAttributes, [ piValues ) : System.Boolean

Method Details

BindTexImage() public static method

public static BindTexImage ( IntPtr hPbuffer, int iBuffer ) : System.Boolean
hPbuffer System.IntPtr
iBuffer int
return System.Boolean

ChoosePixelFormat() public static method

public static ChoosePixelFormat ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
hdc System.IntPtr
piAttribIList int
pfAttribFList System.Single
nMaxFormats System.Int32
piFormats [
nNumFormats [
return System.Boolean

CreateBufferRegion() public static method

public static CreateBufferRegion ( IntPtr hDC, int iLayerPlane, Int32 uType ) : IntPtr
hDC System.IntPtr
iLayerPlane int
uType System.Int32
return System.IntPtr

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

DeleteBufferRegion() public static method

public static DeleteBufferRegion ( IntPtr hRegion ) : void
hRegion System.IntPtr
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 ( IntPtr hdc ) : string
hdc System.IntPtr
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, int piAttributes, [ piValues ) : System.Boolean
hdc System.IntPtr
iPixelFormat int
iLayerPlane int
nAttributes System.Int32
piAttributes int
piValues [
return System.Boolean

MakeContextCurrent() public static method

public static MakeContextCurrent ( IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc ) : System.Boolean
hDrawDC System.IntPtr
hReadDC System.IntPtr
hglrc System.IntPtr
return System.Boolean

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

ReleaseTexImage() public static method

public static ReleaseTexImage ( IntPtr hPbuffer, int iBuffer ) : System.Boolean
hPbuffer System.IntPtr
iBuffer int
return System.Boolean

RestoreBufferRegion() public static method

public static RestoreBufferRegion ( IntPtr hRegion, int x, int y, int width, int height, int xSrc, int ySrc ) : System.Boolean
hRegion System.IntPtr
x int
y int
width int
height int
xSrc int
ySrc int
return System.Boolean

SaveBufferRegion() public static method

public static SaveBufferRegion ( IntPtr hRegion, int x, int y, int width, int height ) : System.Boolean
hRegion System.IntPtr
x int
y int
width int
height int
return System.Boolean

SetPbufferAttrib() public static method

public static SetPbufferAttrib ( IntPtr hPbuffer, int piAttribList ) : System.Boolean
hPbuffer System.IntPtr
piAttribList int
return System.Boolean

SupportsExtension() public static method

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