Add more code for KSC_Shader class.

not tested yet.