Метод | Описание | |
---|---|---|
Keyboard_KeyDown ( object sender, |
||
SimpleGeometryShader2 ( ) : System | ||
compileShader ( int shader, string source ) : void |
Helper method to avoid code duplication. Compiles a shader and prints results using Debug.WriteLine.
|
|
drawCubemapCross ( ) : void | ||
initShaderProgramBox ( ) : void | ||
initShaderProgramCubemap ( ) : void | ||
initShaderProgramSphere ( ) : void | ||
initTextureCube ( ) : void | ||
initVBOCube ( ) : void | ||
initVBOSpere ( ) : void | ||
renderCubeVBO ( ) : void | ||
renderCubemap ( ) : void | ||
renderScene ( ) : void | ||
renderSphereVBO ( ) : void | ||
setOrtho ( ) : void | ||
setPerspective ( ) : void | ||
switchToMode ( ViewMode m ) : void |
Метод | Описание | |
---|---|---|
OnLoad ( |
||
OnRenderFrame ( FrameEventArgs e ) : void | ||
OnResize ( |
||
OnUnload ( |
||
OnUpdateFrame ( FrameEventArgs e ) : void |
Метод | Описание | |
---|---|---|
CalculateSphereElements ( float radius, float height, byte segments, byte rings ) : ushort[] | ||
CalculateSphereVertices ( float radius, float height, byte segments, byte rings ) : VertexPositionNormalTexture[] | ||
Main ( ) : void |
public Keyboard_KeyDown ( object sender, |
||
sender | object | |
e | ||
Результат | void |
protected OnRenderFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
Результат | void |
protected OnResize ( |
||
e | ||
Результат | void |
protected OnUnload ( |
||
e | ||
Результат | void |
protected OnUpdateFrame ( FrameEventArgs e ) : void | ||
e | FrameEventArgs | |
Результат | void |
public compileShader ( int shader, string source ) : void | ||
shader | int | A shader object, gotten from GL.CreateShader. |
source | string | The GLSL source to compile. |
Результат | void |
public initShaderProgramCubemap ( ) : void | ||
Результат | void |