@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
14 lines (13 loc) • 582 B
TypeScript
export class ShadowMap {
static getShadowFormat(device: any, shadowType: any): number;
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;
}