Adding shader initialiser

Add the Shader class

Download shader.h and shader.cpp here or from Blackboard

2KB
Open
3KB
Open

copy shader.h to include/

copy shader.cpp to src/

Add new files to Git

Also commit the added files to your Git repositories if you are using Git

class Shader

The Shader class provides methods for shader read, intitialisation, compile, etc.

Last updated