实现

构造函数

属性

_arrayLayerIndex: number = -1
_colorStates: GPUColorTargetState[]
_depthState: GPUColorTargetState
_depthTexture: WebGPUInternalTex
_generateMipmap: boolean
_isCube: boolean
_renderPassDescriptor: GPURenderPassDescriptor
_samples: number
_textures: WebGPUInternalTex[]
_texturesResolve: WebGPUInternalTex[]
colorFormat: RenderTargetFormat
depthStencilFormat: RenderTargetFormat
gpuMemory: number = 0
isSRGB: boolean = false
stateCacheID: number

方法