C# 클래스 OpenTK.Platform.Windows.Wgl

파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
ChoosePixelFormat ( IntPtr hDc, PixelFormatDescriptor pPfd ) : int
ChoosePixelFormatEXT ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
CopyContext ( IntPtr hglrcSrc, IntPtr hglrcDst, Int32 mask ) : System.Boolean
CreateContext ( IntPtr hDc ) : IntPtr
CreateLayerContext ( IntPtr hDc, int level ) : IntPtr
DeleteContext ( IntPtr oldContext ) : Boolean
DescribeLayerPlane ( IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, LayerPlaneDescriptor plpd ) : Boolean
DescribePixelFormat ( IntPtr hdc, int ipfd, Int32 cjpfd, PixelFormatDescriptor ppfd ) : int
GetCurrentContext ( ) : IntPtr
GetCurrentDC ( ) : IntPtr
GetDefaultProcAddres ( String lpszProc ) : IntPtr
GetLayerPaletteEntries ( IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr ) : int
GetPixelFormat ( IntPtr hdc ) : int
GetProcAddres ( String lpszProc ) : IntPtr
Load ( string function ) : bool

Loads the given Wgl entry point.

LoadAll ( ) : void

Loads all Wgl entry points, core and extensions.

MakeContextCurrentEXT ( IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc ) : Boolean
MakeCurrent ( IntPtr hDc, IntPtr newContext ) : Boolean
RealizeLayerPalette ( IntPtr hdc, int iLayerPlane, Boolean bRealize ) : Boolean
SetLayerPaletteEntries ( IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr ) : int
SetPixelFormat ( IntPtr hdc, int ipfd, PixelFormatDescriptor ppfd ) : Boolean
ShareLists ( IntPtr hrcSrvShare, IntPtr hrcSrvSource ) : Boolean
SwapBuffers ( IntPtr hdc ) : Boolean
SwapLayerBuffers ( IntPtr hdc, Int32 fuFlags ) : Boolean
UseFontBitmapsA ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase ) : Boolean
UseFontBitmapsW ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase ) : Boolean
UseFontOutlinesA ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat glyphMetrics ) : Boolean
UseFontOutlinesW ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat glyphMetrics ) : Boolean

비공개 메소드들

메소드 설명
ChoosePixelFormatEXT ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, UInt32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
CopyContext ( IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask ) : System.Boolean
DescribeLayerPlane ( IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, LayerPlaneDescriptor plpd ) : Boolean
DescribePixelFormat ( IntPtr hdc, int ipfd, UInt32 cjpfd, PixelFormatDescriptor ppfd ) : int
GetExtensionDelegate ( string name, Type signature ) : Delegate

Creates a System.Delegate that can be used to call a dynamically exported OpenGL function.

LoadDelegate ( string name, Type signature ) : Delegate

Creates a System.Delegate that can be used to call an OpenGL function, core or extension.

SwapLayerBuffers ( IntPtr hdc, UInt32 fuFlags ) : Boolean
Wgl ( ) : System

메소드 상세

ChoosePixelFormat() 공개 정적인 메소드

public static ChoosePixelFormat ( IntPtr hDc, PixelFormatDescriptor pPfd ) : int
hDc System.IntPtr
pPfd PixelFormatDescriptor
리턴 int

ChoosePixelFormatEXT() 공개 정적인 메소드

public static ChoosePixelFormatEXT ( 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 [
리턴 System.Boolean

CopyContext() 공개 정적인 메소드

public static CopyContext ( IntPtr hglrcSrc, IntPtr hglrcDst, Int32 mask ) : System.Boolean
hglrcSrc System.IntPtr
hglrcDst System.IntPtr
mask System.Int32
리턴 System.Boolean

CreateContext() 공개 정적인 메소드

public static CreateContext ( IntPtr hDc ) : IntPtr
hDc System.IntPtr
리턴 System.IntPtr

CreateLayerContext() 공개 정적인 메소드

public static CreateLayerContext ( IntPtr hDc, int level ) : IntPtr
hDc IntPtr
level int
리턴 IntPtr

DeleteContext() 공개 정적인 메소드

public static DeleteContext ( IntPtr oldContext ) : Boolean
oldContext IntPtr
리턴 Boolean

DescribeLayerPlane() 공개 정적인 메소드

public static DescribeLayerPlane ( IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, LayerPlaneDescriptor plpd ) : Boolean
hDc IntPtr
pixelFormat int
layerPlane int
nBytes Int32
plpd LayerPlaneDescriptor
리턴 Boolean

DescribePixelFormat() 공개 정적인 메소드

public static DescribePixelFormat ( IntPtr hdc, int ipfd, Int32 cjpfd, PixelFormatDescriptor ppfd ) : int
hdc IntPtr
ipfd int
cjpfd Int32
ppfd PixelFormatDescriptor
리턴 int

GetCurrentContext() 공개 정적인 메소드

public static GetCurrentContext ( ) : IntPtr
리턴 IntPtr

GetCurrentDC() 공개 정적인 메소드

public static GetCurrentDC ( ) : IntPtr
리턴 IntPtr

GetDefaultProcAddres() 공개 정적인 메소드

public static GetDefaultProcAddres ( String lpszProc ) : IntPtr
lpszProc String
리턴 IntPtr

GetLayerPaletteEntries() 공개 정적인 메소드

public static GetLayerPaletteEntries ( IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr ) : int
hdc IntPtr
iLayerPlane int
iStart int
cEntries int
pcr Int32
리턴 int

GetPixelFormat() 공개 정적인 메소드

public static GetPixelFormat ( IntPtr hdc ) : int
hdc IntPtr
리턴 int

GetProcAddres() 공개 정적인 메소드

public static GetProcAddres ( String lpszProc ) : IntPtr
lpszProc String
리턴 IntPtr

Load() 공개 정적인 메소드

Loads the given Wgl entry point.
public static Load ( string function ) : bool
function string The name of the function to load.
리턴 bool

LoadAll() 공개 정적인 메소드

Loads all Wgl entry points, core and extensions.
public static LoadAll ( ) : void
리턴 void

MakeContextCurrentEXT() 공개 정적인 메소드

public static MakeContextCurrentEXT ( IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc ) : Boolean
hDrawDC IntPtr
hReadDC IntPtr
hglrc IntPtr
리턴 Boolean

MakeCurrent() 공개 정적인 메소드

public static MakeCurrent ( IntPtr hDc, IntPtr newContext ) : Boolean
hDc IntPtr
newContext IntPtr
리턴 Boolean

RealizeLayerPalette() 공개 정적인 메소드

public static RealizeLayerPalette ( IntPtr hdc, int iLayerPlane, Boolean bRealize ) : Boolean
hdc IntPtr
iLayerPlane int
bRealize Boolean
리턴 Boolean

SetLayerPaletteEntries() 공개 정적인 메소드

public static SetLayerPaletteEntries ( IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr ) : int
hdc IntPtr
iLayerPlane int
iStart int
cEntries int
pcr Int32
리턴 int

SetPixelFormat() 공개 정적인 메소드

public static SetPixelFormat ( IntPtr hdc, int ipfd, PixelFormatDescriptor ppfd ) : Boolean
hdc IntPtr
ipfd int
ppfd PixelFormatDescriptor
리턴 Boolean

ShareLists() 공개 정적인 메소드

public static ShareLists ( IntPtr hrcSrvShare, IntPtr hrcSrvSource ) : Boolean
hrcSrvShare IntPtr
hrcSrvSource IntPtr
리턴 Boolean

SwapBuffers() 공개 정적인 메소드

public static SwapBuffers ( IntPtr hdc ) : Boolean
hdc IntPtr
리턴 Boolean

SwapLayerBuffers() 공개 정적인 메소드

public static SwapLayerBuffers ( IntPtr hdc, Int32 fuFlags ) : Boolean
hdc IntPtr
fuFlags Int32
리턴 Boolean

UseFontBitmapsA() 공개 정적인 메소드

public static UseFontBitmapsA ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase ) : Boolean
hDC IntPtr
first Int32
count Int32
listBase Int32
리턴 Boolean

UseFontBitmapsW() 공개 정적인 메소드

public static UseFontBitmapsW ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase ) : Boolean
hDC IntPtr
first Int32
count Int32
listBase Int32
리턴 Boolean

UseFontOutlinesA() 공개 정적인 메소드

public static UseFontOutlinesA ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat glyphMetrics ) : Boolean
hDC IntPtr
first Int32
count Int32
listBase Int32
thickness float
deviation float
fontMode Int32
glyphMetrics GlyphMetricsFloat
리턴 Boolean

UseFontOutlinesW() 공개 정적인 메소드

public static UseFontOutlinesW ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat glyphMetrics ) : Boolean
hDC IntPtr
first Int32
count Int32
listBase Int32
thickness float
deviation float
fontMode Int32
glyphMetrics GlyphMetricsFloat
리턴 Boolean