import { ColorTransform } from '@awayjs/core'; import { MethodBase, _Shader_MethodBase } from './MethodBase'; /** * EffectColorTransformMethod provides a shading method that changes the colour of a material analogous to a * ColorTransform object. */ export declare class EffectColorTransformMethod extends MethodBase { private _colorTransform; static assetType: string; /** * @inheritDoc */ get assetType(): string; /** * The ColorTransform object to transform the colour of the material with. */ get colorTransform(): ColorTransform; set colorTransform(value: ColorTransform); /** * Creates a new EffectColorTransformMethod. */ constructor(colorTransform?: ColorTransform); } import { ShaderRegisterCache, ShaderRegisterData, ShaderRegisterElement } from '@awayjs/stage'; import { ShaderBase } from '@awayjs/renderer'; /** * EffectColorTransformChumk provides a shading method that changes the colour of a material analogous to a * ColorTransform object. */ export declare class _Shader_EffectColorTransformMethod extends _Shader_MethodBase { private _method; private _shader; private _colorTransformIndex; /** * Creates a new EffectColorTransformChumk. */ init(method: EffectColorTransformMethod, shader: ShaderBase): void; /** * @inheritDoc */ _getFragmentCode(targetReg: ShaderRegisterElement, registerCache: ShaderRegisterCache, sharedRegisters: ShaderRegisterData): string; /** * @inheritDoc */ _activate(): void; } //# sourceMappingURL=EffectColorTransformMethod.d.ts.map