public string GetAttributeName(int index) { string result; int attributeName = PsmShaderProgram.GetAttributeName(this.handle, index, out result); if (attributeName != 0) { Error.ThrowNativeException(attributeName); } return(result); }