import { TextureBase } from '@awayjs/renderer'; import { DiffuseBasicMethod } from './DiffuseBasicMethod'; import { CompositeMethodBase } from './CompositeMethodBase'; /** * DiffuseCompositeMethod provides a base class for diffuse methods that wrap a diffuse method to alter the * calculated diffuse reflection strength. */ export declare class DiffuseCompositeMethod extends CompositeMethodBase { /** * Creates a new DiffuseCompositeMethod object. * * @param modulateMethod The method which will add the code to alter the base method's strength. It needs to have the signature clampDiffuse(t:ShaderRegisterElement, regCache:ShaderRegisterCache):string, in which t.w will contain the diffuse strength. * @param baseMethod The base diffuse method on which this method's shading is based. */ constructor(baseMethod?: DiffuseBasicMethod | DiffuseCompositeMethod); createBaseMethod(): DiffuseBasicMethod | DiffuseCompositeMethod; /** * @inheritDoc */ get texture(): TextureBase; set texture(value: TextureBase); /** * @inheritDoc */ get color(): number; set color(value: number); /** * @inheritDoc */ get multiply(): boolean; set multiply(value: boolean); } //# sourceMappingURL=DiffuseCompositeMethod.d.ts.map