C# Class PsmFramework.Engines.DrawEngine2d.Shaders.SpriteShader

Inheritance: ShaderBase
Datei anzeigen Open project: artwallace/PsmFramework Class Usage Examples

Private Properties

Property Type Description
CleanupColor void
CleanupIndices void
CleanupTextureCoordinates void
CleanupVertexBuffer void
CleanupVertices void
InitializeColor void
InitializeIndices void
InitializeTextureCoordinates void
InitializeVertexBuffer void
InitializeVertices void
SpriteShader System

Public Methods

Method Description
GetScalingMatrix ( System.Single width, System.Single height, System.Single scale ) : Matrix4
GetTranslationMatrix ( System.Single x, System.Single y ) : Matrix4
GetTranslationMatrix ( System.Single x, System.Single y, System.Single scale, System.Single radianAngle ) : Matrix4

Protected Methods

Method Description
Cleanup ( ) : void
CleanupShaderProgram ( ) : void
Initialize ( ) : void
InitializeShaderProgram ( ) : void

Private Methods

Method Description
CleanupColor ( ) : void
CleanupIndices ( ) : void
CleanupTextureCoordinates ( ) : void
CleanupVertexBuffer ( ) : void
CleanupVertices ( ) : void
InitializeColor ( ) : void
InitializeIndices ( ) : void
InitializeTextureCoordinates ( ) : void
InitializeVertexBuffer ( ) : void
InitializeVertices ( ) : void
SpriteShader ( DrawEngine2d drawEngine2d ) : System

Method Details

Cleanup() protected method

protected Cleanup ( ) : void
return void

CleanupShaderProgram() protected method

protected CleanupShaderProgram ( ) : void
return void

GetScalingMatrix() public static method

public static GetScalingMatrix ( System.Single width, System.Single height, System.Single scale ) : Matrix4
width System.Single
height System.Single
scale System.Single
return Matrix4

GetTranslationMatrix() public static method

public static GetTranslationMatrix ( System.Single x, System.Single y ) : Matrix4
x System.Single
y System.Single
return Matrix4

GetTranslationMatrix() public static method

public static GetTranslationMatrix ( System.Single x, System.Single y, System.Single scale, System.Single radianAngle ) : Matrix4
x System.Single
y System.Single
scale System.Single
radianAngle System.Single
return Matrix4

Initialize() protected method

protected Initialize ( ) : void
return void

InitializeShaderProgram() protected method

protected InitializeShaderProgram ( ) : void
return void