Properties
Private _pixelRatio
_pixelRatio: number = window.devicePixelRatio
Private Optional _renderTexture
_renderTexture?: GPUTexture
Private _sampleCount
_sampleCount: 1 | 4 = 1
Private Optional antialiasRenderTexture
antialiasRenderTexture?: GPUTexture
Private canvas
canvas: HTMLCanvasElement
ctx
ctx: GPUCanvasContext
depthFormat
depthFormat: GPUTextureFormat = "depth24plus-stencil8"
Private Optional depthTexture
depthTexture?: GPUTexture
presentationFormat
presentationFormat: GPUTextureFormat
Private presentationSize
presentationSize: {
height: number;
width: number;
} = ...
Type declaration
-
height: number
-
width: number
Private renderPassDescriptor
renderPassDescriptor: GPURenderPassDescriptor