메소드 | 설명 | |
---|---|---|
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 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 |