diff --git a/docs/api/renderers/webgl/WebGLProgram.html b/docs/api/renderers/webgl/WebGLProgram.html index 097c6f5d50583f1de8e502d29534984dfe89620f..8115c6080de6ac10ec60fdd0345986c7765564a9 100644 --- a/docs/api/renderers/webgl/WebGLProgram.html +++ b/docs/api/renderers/webgl/WebGLProgram.html @@ -139,11 +139,6 @@ Returns a name-value mapping of all active vertex attribute locations. -

[method:Array getAttributesKeys]()

-
- Returns an array of all active vertex attribute names. -
-

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] diff --git a/src/renderers/webgl/WebGLProgram.js b/src/renderers/webgl/WebGLProgram.js index 136a44c7aefaea2c2d8fb24a4d9a883c4659a88a..9c5e977deb7b0da5c1e1c7fe2818959eddb2f844 100644 --- a/src/renderers/webgl/WebGLProgram.js +++ b/src/renderers/webgl/WebGLProgram.js @@ -409,26 +409,16 @@ THREE.WebGLProgram = ( function () { // set up caching for attribute keys and locations var getAttributes = function() { return this._cachedAttributes; }; - var getAttribKeys = function() { return this._cachedAttribKeys; }; this.getAttributes = function() { var attributes = fetchAttributeLocations( gl, program ); this._cachedAttributes = attributes; - this._cachedAttribKeys = Object.keys( attributes ); this.getAttributes = getAttributes; - this.getAttributesKeys = getAttribKeys; return attributes; }; - this.getAttributesKeys = function() { - - this.attributes(); - return this._cachedAttribKeys; - - }; - // this.id = programIdCount ++;