C# Class CSharpGL.RendererBase

Datei anzeigen Open project: bitzhuwei/CSharpGL Class Usage Examples

Private Properties

Property Type Description
Dispose void

Public Methods

Method Description
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

Protected Methods

Method Description
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.

Private Methods

Method Description
Dispose ( bool disposing ) : void

Dispose managed and unmanaged resources of this instance.

Method Details

Dispose() public method

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

DisposeManagedResources() protected method

释放.net托管资源。

Dispose reources managed by .NET.

protected DisposeManagedResources ( ) : void
return void

DisposeUnmanagedResources() protected method

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

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

protected DisposeUnmanagedResources ( ) : void
return void

DoInitialize() protected abstract method

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

DoRender() protected abstract method

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

GetModelMatrix() public method

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

Initialize() public method

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

Render() public method

Render something.
public Render ( RenderEventArgs arg ) : void
arg RenderEventArgs
return void

RendererBase() public method

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

Initialize and render something with OpenGL.

public RendererBase ( ) : System
return System

ToString() public method

public ToString ( ) : string
return string