public override bool AddShader(string ID) { if (_Shader.ContainsKey(ID)) { return(false); } GLSLShaderProgram NewProgram; NewProgram = new GLSLShaderProgram(ID); _Shader.Add(ID, NewProgram); return(true); }
public GLSLShaderProgram(GLSLShaderProgram GLSLShaderProgram) : base(GLSLShaderProgram) { this._Uniforms = new GLSLShaderUniformPackage(GLSLShaderProgram._Uniforms); this._Attributes = new GLSLShaderAttributePackage(GLSLShaderProgram._Attributes); this._Textures = new GLSLShaderTexturePackage(GLSLShaderProgram._Textures); }