import { TextureBase } from '@awayjs/renderer'; import { CompositeMethodBase } from './CompositeMethodBase'; import { SpecularBasicMethod } from './SpecularBasicMethod'; /** * SpecularCompositeMethod provides a base class for specular methods that wrap * a specular method to alter the calculated specular reflection strength. */ export declare class SpecularCompositeMethod extends CompositeMethodBase { /** * Creates a new SpecularCompositeMethod 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 specular method on which this method's shading * is based. */ constructor(baseMethod?: SpecularBasicMethod | SpecularCompositeMethod); createBaseMethod(): SpecularBasicMethod; /** * @inheritDoc */ get gloss(): number; set gloss(value: number); /** * @inheritDoc */ get strength(): number; set strength(value: number); /** * @inheritDoc */ get color(): number; /** * @inheritDoc */ set color(value: number); /** * @inheritDoc */ get texture(): TextureBase; set texture(value: TextureBase); } //# sourceMappingURL=SpecularCompositeMethod.d.ts.map