public int FindUniform(string name) { int uniform; int errorCode = PsmShaderProgram.FindUniform(this.handle, name, out uniform); if (errorCode != 0) { Error.ThrowNativeException(errorCode); } return(uniform); }