import { MethodBase, _Shader_MethodBase } from './MethodBase'; /** * EffectColorMatrixMethod provides a shading method that changes the colour of a material analogous to a ColorMatrixFilter. */ export declare class EffectColorMatrixMethod extends MethodBase { private _matrix; static assetType: string; /** * @inheritDoc */ get assetType(): string; /** * The 4 x 5 matrix to transform the color of the material. */ get matrix(): Array; set matrix(value: Array); /** * Creates a new EffectColorTransformMethod. * * @param matrix An array of 20 items for 4 x 5 color transform. */ constructor(matrix: Array); } import { ShaderRegisterCache, ShaderRegisterData, ShaderRegisterElement } from '@awayjs/stage'; import { ShaderBase } from '@awayjs/renderer'; /** * _Shader_EffectColorMatrixMethod provides a shading method that changes the colour of a material analogous to a ColorMatrixFilter. */ export declare class _Shader_EffectColorMatrixMethod extends _Shader_MethodBase { private _method; private _shader; private _colorMatrixIndex; /** * Creates a new _Shader_EffectColorMatrixMethod * * @param method * @param shader */ init(method: EffectColorMatrixMethod, shader: ShaderBase): void; /** * @inheritDoc */ _getFragmentCode(targetReg: ShaderRegisterElement, registerCache: ShaderRegisterCache, sharedRegisters: ShaderRegisterData): string; /** * @inheritDoc */ _activate(): void; } //# sourceMappingURL=EffectColorMatrixMethod.d.ts.map