import { Matrix3D, Plane3D, ProjectionBase, OrthographicProjection } from '@awayjs/core'; import { Image2D } from '@awayjs/stage'; import { INode } from '@awayjs/view'; import { ShadowMapperBase, _Shader_ShadowMapperBase } from './ShadowMapperBase'; export declare class DirectionalShadowMapper extends ShadowMapperBase { protected _image2D: Image2D; protected _localFrustum: Array; protected _lightOffset: number; protected _matrix: Matrix3D; protected _overallDepthProjection: OrthographicProjection; protected _snap: number; protected _cullPlanes: Array; protected _minZ: number; protected _maxZ: number; static assetType: string; /** * @inheritDoc */ get assetType(): string; constructor(image2D?: Image2D); dispose(): void; get snap(): number; set snap(value: number); get lightOffset(): number; set lightOffset(value: number); get depthProjection(): Matrix3D; get depth(): number; protected _updateSize(): void; /** * * @param projection * @private */ protected _updateProjection(projection: ProjectionBase): void; protected _renderMap(node: INode): void; /** * * @param projection * @private */ protected _updateCullPlanes(projection: ProjectionBase): void; /** * * @param projection * @param matrix * @private */ protected _updateProjectionFromFrustumCorners(projection: ProjectionBase, corners: Array, matrix: Matrix3D): void; } import { ShaderRegisterCache, ShaderRegisterData } from '@awayjs/stage'; import { ChunkVO } from '@awayjs/renderer'; /** * ShadowChunkBase provides an abstract method for simple (non-wrapping) shadow map methods. */ export declare class _Shader_DirectionalShadowMapper extends _Shader_ShadowMapperBase { private _vertexScalingIndex; protected _depthProjectionMatrix: Matrix3D; /** * @inheritDoc */ _initVO(chunkVO: ChunkVO): void; /** * @inheritDoc */ _initConstants(): void; /** * @inheritDoc */ _getVertexCode(regCache: ShaderRegisterCache, sharedRegisters: ShaderRegisterData): string; /** * @inheritDoc */ _activate(): void; } //# sourceMappingURL=DirectionalShadowMapper.d.ts.map