import { LightBase } from '../lights/LightBase'; import { ShadowMapperBase } from '../mappers/ShadowMapperBase'; import { AmbientBasicMethod, _Shader_AmbientBasicMethod } from './AmbientBasicMethod'; /** * AmbientDepthMethod provides a debug method to visualise depth maps */ export declare class AmbientDepthMethod extends AmbientBasicMethod { _castingLight: LightBase; _shadowMapper: ShadowMapperBase; static assetType: string; /** * @inheritDoc */ get assetType(): string; /** * Creates a new AmbientDepthMethod object. */ constructor(castingLight: LightBase); /** * The light casting the shadows. */ get castingLight(): LightBase; } import { ShaderRegisterCache, ShaderRegisterData, ShaderRegisterElement } from '@awayjs/stage'; import { ShaderBase, ChunkVO } from '@awayjs/renderer'; /** * AmbientDepthChunk provides a debug method to visualise depth maps */ export declare class _Shader_AmbientDepthMethod extends _Shader_AmbientBasicMethod { private _decRegIndex; private _shadowTexture; /** * Creates a new AmbientBasicChunk object. */ init(method: AmbientDepthMethod, shader: ShaderBase): void; /** * @inheritDoc */ _initVO(chunkVO: ChunkVO): void; /** * @inheritDoc */ _initConstants(): void; _getFragmentCode(targetReg: ShaderRegisterElement, registerCache: ShaderRegisterCache, sharedRegisters: ShaderRegisterData): string; } //# sourceMappingURL=AmbientDepthMethod.d.ts.map