C# 클래스 CSharpGL.RendererBase

파일 보기 프로젝트 열기: bitzhuwei/CSharpGL 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Dispose void

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetModelMatrix ( ) : MarkableStruct

Get model matrix that transform this renderer from model space to world space.

Initialize ( ) : void

Initialize all stuff related to OpenGL.

Render ( RenderEventArgs arg ) : void

Render something.

RendererBase ( ) : System

用OpenGL初始化和渲染一个模型。

Initialize and render something with OpenGL.

ToString ( ) : string

보호된 메소드들

메소드 설명
DisposeManagedResources ( ) : void

释放.net托管资源。

Dispose reources managed by .NET.

DisposeUnmanagedResources ( ) : void

释放.net非托管资源,例如释放OpenGL相关的资源(Buffer、纹理等)。

Dispose resources not managed by .NET(OpenGL buffers, textures, etc.).

DoInitialize ( ) : void

This method should only be invoked once.

DoRender ( RenderEventArgs arg ) : void

Render something.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Dispose managed and unmanaged resources of this instance.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

DisposeManagedResources() 보호된 메소드

释放.net托管资源。

Dispose reources managed by .NET.

protected DisposeManagedResources ( ) : void
리턴 void

DisposeUnmanagedResources() 보호된 메소드

释放.net非托管资源,例如释放OpenGL相关的资源(Buffer、纹理等)。

Dispose resources not managed by .NET(OpenGL buffers, textures, etc.).

protected DisposeUnmanagedResources ( ) : void
리턴 void

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

This method should only be invoked once.
protected abstract DoInitialize ( ) : void
리턴 void

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

Render something.
protected abstract DoRender ( RenderEventArgs arg ) : void
arg RenderEventArgs
리턴 void

GetModelMatrix() 공개 메소드

Get model matrix that transform this renderer from model space to world space.
public GetModelMatrix ( ) : MarkableStruct
리턴 MarkableStruct

Initialize() 공개 메소드

Initialize all stuff related to OpenGL.
public Initialize ( ) : void
리턴 void

Render() 공개 메소드

Render something.
public Render ( RenderEventArgs arg ) : void
arg RenderEventArgs
리턴 void

RendererBase() 공개 메소드

用OpenGL初始化和渲染一个模型。

Initialize and render something with OpenGL.

public RendererBase ( ) : System
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string