C# Class SimLab.HexahedronGrid

Inheritance: SimLabGrid, IRenderable
Exibir arquivo Open project: bitzhuwei/CSharpGL

Protected Properties

Property Type Description
indexBuffer uint[]
indexBufferLength int

Public Methods

Method Description
HexahedronGrid ( SharpGL.OpenGL gl, IScientificCamera camera ) : System
Init ( HexahedronMeshGeometry3D geometry ) : void

Protected Methods

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

Private Methods

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

HexahedronGrid() public method

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

IRenderable() protected method

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

Init() public method

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

Property Details

indexBuffer protected_oe property

protected uint[] indexBuffer
return uint[]

indexBufferLength protected_oe property

protected int indexBufferLength
return int