Sha256: 34e5b4e96c3fcc8d08b8e7271a8563e1cb9c520f8304f77f7a1716388342aa87

Contents?: true

Size: 1.87 KB

Versions: 1

Compression:

Stored size: 1.87 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1372843467.816284:@value"{I"
class:EFI"BundledAsset;FI"logical_path;FI"Renderer/BlendEquation.js;TI"
pathname;FI"V/Users/bwrona/www/engines/cesium/app/assets/javascripts/Renderer/BlendEquation.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-07-03T11:02:49+02:00;FI"length;Fi6I"digest;F"%27853e811fa35e03b3eb1ea96e76be03I"source;FI"6/*global define*/

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

    /**
     * DOC_TBA
     *
     * @exports BlendEquation
     */
    var BlendEquation = {
        /**
         * DOC_TBA
         *
         * @type {Enumeration}
         * @constant
         * @default 0x8006
         */
        ADD : new Enumeration(0x8006, 'ADD'), // WebGL: FUNC_ADD

        /**
         * DOC_TBA
         *
         * @type {Enumeration}
         * @constant
         * @default 0x800A
         */
        SUBTRACT : new Enumeration(0x800A, 'SUBTRACT'), // WebGL: FUNC_SUBTRACT

        /**
         * DOC_TBA
         *
         * @type {Enumeration}
         * @constant
         * @default 0x800B
         */
        REVERSE_SUBTRACT : new Enumeration(0x800B, 'REVERSE_SUBTRACT'), // WebGL: FUNC_REVERSE_SUBTRACT

        // No min and max like in ColladaFX GLES2 profile

        /**
         * DOC_TBA
         *
         * @param {BlendEquation} blendEquation
         *
         * @returns {Boolean}
         */
        validate : function(blendEquation) {
            return ((blendEquation === BlendEquation.ADD) ||
                    (blendEquation === BlendEquation.SUBTRACT) ||
                    (blendEquation === BlendEquation.REVERSE_SUBTRACT));
        }
    };

    return BlendEquation;
});
;FI"required_assets_digest;F"%1e7595bea258c37f9ee3f9906fed3da0I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cesium-0.18.0 test/dummy/tmp/cache/assets/D0E/7B0/sprockets%2F515f6ab995d22afd507007df0b3b2996