new SpriteShader(vertexShaderPath, fragmentShaderPath) → {SpriteShader}
    Default Constructor
    Implements a Textured ShaderProgram object where texture coordinate can be changed
Parameters:
| Name | Type | Description | 
|---|---|---|
vertexShaderPath | 
            
            String | filepath of the Vertex Shader. | 
fragmentShaderPath | 
            
            String | filepath of the Fragment Shader. | 
- Source:
 
Returns:
    An intsnace of SpriteShader.
- Type
 - SpriteShader
 
Methods
activateShader(pixelColor, aCamera) → {void}
    Activate the shader for rendering.
    Parameters:
| Name | Type | Description | 
|---|---|---|
pixelColor | 
            
            Array.<Float> | [R, G, B, A] Sets the shader pixel color. | 
aCamera | 
            
            Camera | Camera to draw to | 
- Source:
 
Returns:
- Type
 - void
 
cleanUp() → {void}
    Detaches and removes the shader from the Shader Program
- Source:
 
Returns:
- Type
 - void
 
setTextureCoordinate(texCoord) → {void}
    Sets the texture coordinate that identifies the proper sprite element to be displayed. texCoord is in UV space.
    Parameters:
| Name | Type | Description | 
|---|---|---|
texCoord | 
            
            Array.<Float> | Shader texture coordinate in UV space | 
- Source:
 
Returns:
- Type
 - void