Class Shaders

Loads necessary shaders into variables, and any custom user shaders into an associative array

Inherits from

  • Object (base class)


Name Type Description
ambientLight Ambient Lighting Shader
animatedGeometry Animated Geometry Shader
animatedShadowMap Shader for depth of animated objects.
directionalLight Directional Lighting shader
geometry Geometry Shader
pointLight Point Lighting shader
shadowMap Shader for depth of inanimate objects.
userInterface User Interface shader


Name Description
get Returns a Shader based on its string name
initialize Loads the field-shaders first, then any additional shaders in the Shaders folder
opIndex Returns a Shader based on its string name
shutdown Empties the array of shaders and calls their Shutdown function