17 lines
474 B
TypeScript
17 lines
474 B
TypeScript
/// <reference types="@webgpu/types" />
|
|
import type { TextureSource } from '../../shared/texture/sources/TextureSource';
|
|
/**
|
|
* A class which holds the canvas contexts and textures for a render target.
|
|
* @memberof rendering
|
|
* @ignore
|
|
*/
|
|
export declare class GpuRenderTarget {
|
|
contexts: GPUCanvasContext[];
|
|
msaaTextures: TextureSource[];
|
|
msaa: boolean;
|
|
msaaSamples: number;
|
|
width: number;
|
|
height: number;
|
|
descriptor: GPURenderPassDescriptor;
|
|
}
|