1 | import { BufferResource } from './BufferResource';
|
2 | import type { Renderer } from '../../Renderer';
|
3 | import type { BaseTexture } from '../BaseTexture';
|
4 | import type { GLTexture } from '../GLTexture';
|
5 | /**
|
6 | * Resource type for DepthTexture.
|
7 | * @memberof PIXI
|
8 | */
|
9 | export declare class DepthResource extends BufferResource {
|
10 | /**
|
11 | * Upload the texture to the GPU.
|
12 | * @param renderer - Upload to the renderer
|
13 | * @param baseTexture - Reference to parent texture
|
14 | * @param glTexture - glTexture
|
15 | * @returns - true is success
|
16 | */
|
17 | upload(renderer: Renderer, baseTexture: BaseTexture, glTexture: GLTexture): boolean;
|
18 | }
|