/*global define*/
define([
        '../Core/freezeObject'
    ], function(
        freezeObject) {
    "use strict";

    /**
     * The render pass for a command.
     *
     * @private
     */
    var Pass = {
        GLOBE : 0,
        OPAQUE : 1,
        TRANSLUCENT : 2,
        OVERLAY : 3,
        NUMBER_OF_PASSES : 4
    };

    return freezeObject(Pass);
});
/*global define*/
define([
        '../Core/freezeObject'
    ], function(
        freezeObject) {
    "use strict";

    /**
     * The render pass for a command.
     *
     * @private
     */
    var Pass = {
        GLOBE : 0,
        OPAQUE : 1,
        // Commands are executed in order by pass up to the translucent pass.
        // Translucent geometry needs special handling (sorting/OIT). Overlays
        // are also special (they're executed last, they're not sorted by frustum).
        TRANSLUCENT : 2,
        OVERLAY : 3,
        NUMBER_OF_PASSES : 4
    };

    return freezeObject(Pass);
});
Add comment about the order of passes.
Add comment about the order of passes.
