src/GeometryBase.js
function () {
        var enabledAttributes = this.getEnabledAttributes();
        for (var i = 0; i < enabledAttributes.length; i++) {
            this.dirtyAttribute(enabledAttributes[i]);
        }
        this.dirtyIndices();
        this._enabledAttributes = null;

        this._cache.dirty('any');
    }
function () {
        var enabledAttributes = this.getEnabledAttributes();
        for (var i = 0; i < enabledAttributes.length; i++) {
            this.dirtyAttribute(enabledAttributes[i]);
        }
        this.dirtyIndices();
        this._enabledAttributes = null;

        this._cache.dirty('any');
    }
function ( ) { var enabledAttributes = this . getEnabledAttributes ( ) ; for ( var i = 0 ; i < enabledAttributes . length ; i ++ ) { this . dirtyAttribute ( enabledAttributes [ i ] ) ; } this . dirtyIndices ( ) ; this . _enabledAttributes = null ; this . _cache . dirty ( 'any' ) ; }
Mark attributes and indices in geometry needs to update.
Usually called after you change the data in attributes.
Mark attributes and indices in geometry needs to update . Usually called after you change the data in attributes .