C# Class Mono.Samples.TexturedCube.Cube

Mostra file Open project: xamarin/mobile-samples

Public Properties

Property Type Description
xAcc float
xAngle float
xSign float

Public Methods

Method Description
InitModel ( ) : void
LoadTexture ( LoadBitmapData loadBitmapData ) : void
Move ( float xDiff, float yDiff ) : void
Render ( ) : void
ToggleTexture ( ) : void
UpdateWorld ( ) : void

Private Methods

Method Description
CheckGLError ( ) : void
CompileShader ( ShaderType type, string src, int &shader ) : bool
DeleteTexture ( ) : void
DestroyShaders ( ) : void
DrawModel ( ) : void
Initialize ( ) : void
LinkProgram ( int prog ) : bool
LoadResource ( string name ) : string
LoadShaders ( string vertShaderSource, string fragShaderSource, int &program ) : bool
SetupProjection ( int width, int height ) : void
ValidateProgram ( int prog ) : bool

Method Details

InitModel() public method

public InitModel ( ) : void
return void

LoadTexture() public method

public LoadTexture ( LoadBitmapData loadBitmapData ) : void
loadBitmapData LoadBitmapData
return void

Move() public method

public Move ( float xDiff, float yDiff ) : void
xDiff float
yDiff float
return void

Render() public method

public Render ( ) : void
return void

ToggleTexture() public method

public ToggleTexture ( ) : void
return void

UpdateWorld() public method

public UpdateWorld ( ) : void
return void

Property Details

xAcc public_oe property

public float xAcc
return float

xAngle public_oe property

public float xAngle
return float

xSign public_oe property

public float xSign
return float