UNPKG

laya-coreui-es

Version:

laya核心库、ui库es版本,剔除了媒体、TTF等功能。基于 LayaAir-release_2.12.0 修改

22 lines (21 loc) 722 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TextureSV = void 0; const Value2D_1 = require("./Value2D"); const ShaderDefines2D_1 = require("../ShaderDefines2D"); class TextureSV extends Value2D_1.Value2D { constructor(subID = 0) { super(ShaderDefines2D_1.ShaderDefines2D.TEXTURE2D, subID); this.strength = 0; this.blurInfo = null; this.colorMat = null; this.colorAlpha = null; this._attribLocation = ['posuv', 0, 'attribColor', 1, 'attribFlags', 2]; } clear() { this.texture = null; this.shader = null; this.defines._value = this.subID; } } exports.TextureSV = TextureSV;