Interface: IShader
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.
Implemented by
Table of contents
Properties
Properties
source
• source: string
Source code of the shader, can be in any language.
type
• type: string
Type of the shader, for example fragment or vertex shader.