C# Class CSharpGL.BoundingBoxRenderer

Renders a bounding box.
Inheritance: Renderer, IBoundingBox
Mostrar archivo Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
Create ( vec3 lengths ) : BoundingBoxRenderer

get a bounding box renderer.

ToString ( ) : string

Protected Methods

Method Description
DoRender ( RenderEventArgs arg ) : void

Private Methods

Method Description
BoundingBoxRenderer ( IBufferable model, ShaderCode shaderCodes, AttributeMap attributeMap ) : System.Drawing

Rendering something using GLSL shader and VBO(VAO).

Method Details

Create() public static method

get a bounding box renderer.
public static Create ( vec3 lengths ) : BoundingBoxRenderer
lengths vec3 bounding box's length at x, y, z direction.
return BoundingBoxRenderer

DoRender() protected method

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

ToString() public method

public ToString ( ) : string
return string