Property | Type | Description | |
---|---|---|---|
camera | IScientificCamera | ||
colorBuffer | uint[] | ||
gl | SharpGL.OpenGL | ||
positionBuffer | uint[] | ||
texture | SharpGL.SceneGraph.Assets.Texture |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
SetPositions ( PositionBuffer positions ) : void | ||
SetTexture ( |
||
SetTextureCoods ( VertexBuffer textureCoords ) : void | ||
SimLabGrid ( SharpGL.OpenGL gl, IScientificCamera camera ) : System |
|
Method | Description | |
---|---|---|
CreateVertexBufferObject ( uint mode, VertexBuffer bufferData, uint usage ) : uint | ||
DisposeManagedResources ( ) : void | ||
DisposeUnmanagedResources ( ) : void | ||
Init ( MeshBase geometry ) : void |
初始化顶点位置和索引
|
|
UpdatePositions ( PositionBuffer positions ) : void | ||
UpdateTextureCoords ( VertexBuffer textureCoords ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
protected CreateVertexBufferObject ( uint mode, VertexBuffer bufferData, uint usage ) : uint | ||
mode | uint | |
bufferData | VertexBuffer | |
usage | uint | |
return | uint |
protected DisposeUnmanagedResources ( ) : void | ||
return | void |
public SetPositions ( PositionBuffer positions ) : void | ||
positions | PositionBuffer | |
return | void |
public SetTexture ( |
||
bitmap | ||
return | void |
public SetTextureCoods ( VertexBuffer textureCoords ) : void | ||
textureCoords | VertexBuffer | |
return | void |
public SimLabGrid ( SharpGL.OpenGL gl, IScientificCamera camera ) : System | ||
gl | SharpGL.OpenGL | OpenGLControl.OpenGL |
camera | IScientificCamera | |
return | System |
protected UpdatePositions ( PositionBuffer positions ) : void | ||
positions | PositionBuffer | |
return | void |
protected UpdateTextureCoords ( VertexBuffer textureCoords ) : void | ||
textureCoords | VertexBuffer | |
return | void |