NAME
WebGPU::Direct::Surface
Methods
configure
Arguments
config (WebGPU::Direct::SurfaceConfiguration)
getCapabilities
Arguments
adapter (WebGPU::Direct::Adapter)
capabilities (WebGPU::Direct::SurfaceCapabilities)
getCurrentTexture
Arguments
surfaceTexture (WebGPU::Direct::SurfaceTexture) Default: undef
getPreferredFormat
Return Type
Arguments
adapter (WebGPU::Direct::Adapter)