Sha256: f9a0e8d789896502c53f296e564caa1761bb93915666a5bbda6b8b8a656fab8f
Contents?: true
Size: 1.49 KB
Versions: 2
Compression:
Stored size: 1.49 KB
Contents
/*global define*/ define(function() { "use strict"; /** * Represents lists of commands for drawing for each render pass. * * @alias CommandLists * @constructor */ var CommandLists = function() { /** * The command list for a opaque color pass. * @type {Array} * @default [] */ this.opaqueList = []; /** * The command list for a translucent color pass. * @type {Array} * @default [] */ this.translucentList = []; /** * The command lists for a pick pass. * @type {Object} */ this.pickList = { opaqueList : [], translucentList : [] }; /** * The command list for an overlay pass. * @type {Array} * @default [] */ this.overlayList = []; }; CommandLists.prototype.empty = function() { return this.opaqueList.length === 0 && this.translucentList.length === 0 && this.pickList.opaqueList.length === 0 && this.pickList.translucentList.length === 0 && this.overlayList.length === 0; }; CommandLists.prototype.removeAll = function() { this.opaqueList.length = 0; this.translucentList.length = 0; this.pickList.opaqueList.length = 0; this.pickList.translucentList.length = 0; this.overlayList.length = 0; }; return CommandLists; });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cesium-0.23.0 | app/assets/javascripts/Renderer/CommandLists.js |
cesium-0.22.0 | app/assets/javascripts/Renderer/CommandLists.js |