C# 클래스 OpenTK.BindingsBase

Provides a common foundation for all flat API bindings and implements the extension loading interface.
파일 보기 프로젝트 열기: prepare/HTML-Renderer

보호된 프로퍼티들

프로퍼티 타입 설명
CoreClass System.Type
CoreFunctionMap MethodInfo>.SortedList
DelegatesClass System.Type

공개 메소드들

메소드 설명
BindingsBase ( ) : System

Constructs a new BindingsBase instance.

LoadEntryPoints ( ) : void

보호된 메소드들

메소드 설명
GetAddress ( string funcname ) : IntPtr

Retrieves an unmanaged function pointer to the specified function.

Note: some drivers are known to return non-zero values for unsupported functions. Typical values include 1 and 2 - inheritors are advised to check for and ignore these values.

비공개 메소드들

메소드 설명
GetExtensionDelegate ( string name, Type signature ) : Delegate
LoadDelegate ( string name, Type signature ) : Delegate
LoadEntryPoint ( string function ) : bool

메소드 상세

BindingsBase() 공개 메소드

Constructs a new BindingsBase instance.
public BindingsBase ( ) : System
리턴 System

GetAddress() 보호된 추상적인 메소드

Retrieves an unmanaged function pointer to the specified function.
Note: some drivers are known to return non-zero values for unsupported functions. Typical values include 1 and 2 - inheritors are advised to check for and ignore these values.
protected abstract GetAddress ( string funcname ) : IntPtr
funcname string /// A that defines the name of the function. ///
리턴 System.IntPtr

LoadEntryPoints() 공개 메소드

public LoadEntryPoints ( ) : void
리턴 void

프로퍼티 상세

CoreClass 보호되어 있는 프로퍼티

A refection handle to the nested type that contains core functions (i.e. not extensions).
protected Type,System CoreClass
리턴 System.Type

CoreFunctionMap 보호되어 있는 프로퍼티

A mapping of core function names to MethodInfo handles.
protected SortedList CoreFunctionMap
리턴 MethodInfo>.SortedList

DelegatesClass 보호되어 있는 프로퍼티

A reflection handle to the nested type that contains the function delegates.
protected Type,System DelegatesClass
리턴 System.Type