C# Class SimLab.PointGrid

Inheritance: SimLabGrid, IRenderable
显示文件 Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
Init ( PointMeshGeometry3D geometry ) : void
PointGrid ( SharpGL.OpenGL gl, IScientificCamera camera ) : System
SetRadius ( PointRadiusBuffer radius ) : void

Protected Methods

Method Description
AfterRendering ( SharpGL.OpenGL gl, RenderMode renderMode ) : void
BeforeRendering ( SharpGL.OpenGL gl, RenderMode renderMode ) : void
DisposeUnmanagedResources ( ) : void

Private Methods

Method Description
CreateVertexArrayObject ( SharpGL.OpenGL gl, RenderMode renderMode ) : void
IRenderable ( SharpGL.OpenGL gl, RenderMode renderMode ) : void
InitShader ( SharpGL.OpenGL gl, RenderMode renderMode ) : SharpGL.Shaders.ShaderProgram

Method Details

AfterRendering() protected method

protected AfterRendering ( SharpGL.OpenGL gl, RenderMode renderMode ) : void
gl SharpGL.OpenGL
renderMode RenderMode
return void

BeforeRendering() protected method

protected BeforeRendering ( SharpGL.OpenGL gl, RenderMode renderMode ) : void
gl SharpGL.OpenGL
renderMode RenderMode
return void

DisposeUnmanagedResources() protected method

protected DisposeUnmanagedResources ( ) : void
return void

Init() public method

public Init ( PointMeshGeometry3D geometry ) : void
geometry PointMeshGeometry3D
return void

PointGrid() public method

public PointGrid ( SharpGL.OpenGL gl, IScientificCamera camera ) : System
gl SharpGL.OpenGL
camera IScientificCamera
return System

SetRadius() public method

public SetRadius ( PointRadiusBuffer radius ) : void
radius PointRadiusBuffer
return void