public bool Build() { mProgram = ES2Utils.CompileProgram(vs, fs); if (mProgram == 0) { return(false); } return(true); }
public bool Build(string vs, string fs) { LoadVertexShaderSource(vs); LoadFragmentShaderSource(fs); mProgram = ES2Utils.CompileProgram(vs, fs); if (mProgram == 0) { return(false); } return(true); }