IShader is the interface representing a general shader. This is designed to allow the possiblity of switching out the render technology, e.g. GLSL, HLSL etc.
Table of contents
• source: string
Source code of the shader, can be in any language.
• type: string
Type of the shader, for example fragment or vertex shader.