Constructors
Protected constructor
-
Parameters
-
-
width: number
-
height: number
Properties
Private _height
_height: number
Private _width
_width: number
Protected Readonly webGpuContext
Accessors
format
- get format(): GPUTextureFormat
texture
- get texture(): GPUTexture
view
- get view(): GPUTextureView
Methods
setSize
- setSize(width: number, height: number): void
-
Parameters
-
width: number
-
height: number
Returns void
Describes a render target: where we can render/draw things onto (see WgCanvas for an example)