playcanvas
Version:
PlayCanvas WebGL game engine
13 lines (12 loc) • 516 B
TypeScript
export class ShadowMap {
static getShadowFiltering(device: any, shadowType: any): number;
static create(device: any, light: any): ShadowMap;
static createAtlas(device: any, resolution: any, shadowType: any): ShadowMap;
static create2dMap(device: any, size: any, shadowType: any): ShadowMap;
static createCubemap(device: any, size: any, shadowType: any): ShadowMap;
constructor(texture: any, targets: any);
texture: any;
cached: boolean;
renderTargets: any;
destroy(): void;
}