C# Class CSharpGL.RendererBase

Afficher le fichier Open project: bitzhuwei/CSharpGL Class Usage Examples

Private Properties

Свойство Type Description
Dispose void

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode Description
Dispose ( bool disposing ) : void

Dispose managed and unmanaged resources of this instance.

Method Details

Dispose() public méthode

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

DisposeManagedResources() protected méthode

释放.net托管资源。

Dispose reources managed by .NET.

protected DisposeManagedResources ( ) : void
Résultat void

DisposeUnmanagedResources() protected méthode

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

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

protected DisposeUnmanagedResources ( ) : void
Résultat void

DoInitialize() protected abstract méthode

This method should only be invoked once.
protected abstract DoInitialize ( ) : void
Résultat void

DoRender() protected abstract méthode

Render something.
protected abstract DoRender ( RenderEventArgs arg ) : void
arg RenderEventArgs
Résultat void

GetModelMatrix() public méthode

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

Initialize() public méthode

Initialize all stuff related to OpenGL.
public Initialize ( ) : void
Résultat void

Render() public méthode

Render something.
public Render ( RenderEventArgs arg ) : void
arg RenderEventArgs
Résultat void

RendererBase() public méthode

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

Initialize and render something with OpenGL.

public RendererBase ( ) : System
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string