C# Class CSharpGL.SimpleRenderer

Renders a model provided by CSharpGL.
Inheritance: PickableRenderer
显示文件 Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
Create ( Axis model ) : SimpleRenderer

create an Axis' renderer.

Create ( BigDipper model ) : SimpleRenderer

create an BigDipper's renderer.

Create ( Chain model ) : SimpleRenderer

create an BigDipper's renderer.

Create ( Cube model ) : SimpleRenderer

create an Cube' renderer.

Create ( Sphere model ) : SimpleRenderer

create an Sphere' renderer.

Create ( Teapot model ) : SimpleRenderer

create an Teapot' renderer.

Create ( Tetrahedron model ) : SimpleRenderer

create an Tetrahedron' renderer.

Protected Methods

Method Description
DoRender ( RenderEventArgs arg ) : void

Private Methods

Method Description
Create ( IBufferable model, vec3 lengths, string positionNameInIBufferable ) : SimpleRenderer
SimpleRenderer ( IBufferable model, ShaderCode shaderCodes, AttributeMap attributeMap, string positionNameInIBufferable )

Method Details

Create() public static method

create an Axis' renderer.
public static Create ( Axis model ) : SimpleRenderer
model Axis
return SimpleRenderer

Create() public static method

create an BigDipper's renderer.
public static Create ( BigDipper model ) : SimpleRenderer
model BigDipper
return SimpleRenderer

Create() public static method

create an BigDipper's renderer.
public static Create ( Chain model ) : SimpleRenderer
model Chain
return SimpleRenderer

Create() public static method

create an Cube' renderer.
public static Create ( Cube model ) : SimpleRenderer
model Cube
return SimpleRenderer

Create() public static method

create an Sphere' renderer.
public static Create ( Sphere model ) : SimpleRenderer
model Sphere
return SimpleRenderer

Create() public static method

create an Teapot' renderer.
public static Create ( Teapot model ) : SimpleRenderer
model Teapot
return SimpleRenderer

Create() public static method

create an Tetrahedron' renderer.
public static Create ( Tetrahedron model ) : SimpleRenderer
model Tetrahedron
return SimpleRenderer

DoRender() protected method

protected DoRender ( RenderEventArgs arg ) : void
arg RenderEventArgs
return void