Jacket
Search the docs
/
API
Tools
Playground
main
WebGPU module
← WebGPU
Types
WGPURenderBundleEncoderDescriptor
WGPURenderPassColorAttachment
WGPURenderPassDepthStencilAttachment
WGPURenderPassDescriptor
WGPURenderPassMaxDrawCount
WGPURenderPipelineDescriptor
WGPURequestAdapterOptions
WGPURequestAdapterWebXROptions
WGPUSamplerBindingLayout
WGPUSamplerDescriptor
WGPUShaderModuleDescriptor
WGPUShaderSourceSPIRV
WGPUShaderSourceWGSL
WGPUStencilFaceState
WGPUStorageTextureBindingLayout
WGPUSupportedFeatures
WGPUSupportedInstanceFeatures
WGPUSupportedWGSLLanguageFeatures
WGPUSurfaceCapabilities
WGPUSurfaceColorManagement
WGPUSurfaceConfiguration
WGPUSurfaceDescriptor
WGPUSurfaceSourceAndroidNativeWindow
WGPUSurfaceSourceMetalLayer
WGPUSurfaceSourceWaylandSurface
WGPUSurfaceSourceWindowsHWND
WGPUSurfaceSourceXCBWindow
WGPUSurfaceSourceXlibWindow
WGPUSurfaceTexture
WGPUTexelCopyBufferInfo
WGPUTexelCopyBufferLayout
WGPUTexelCopyTextureInfo
WGPUTextureBindingLayout
WGPUTextureBindingViewDimension
WGPUTextureComponentSwizzle
WGPUTextureComponentSwizzleDescriptor
WGPUTextureDescriptor
WGPUTextureViewDescriptor
WGPUVertexAttribute
WGPUVertexBufferLayout
On this page
Fields
See also
std
/
Extensions
/
WebGPU
/
WGPUSurfaceConfiguration
WGPUSurfaceConfiguration
struct
foreign
extension
experimental
Source
Fields
nextInChain
:
*
WGPUChainedStruct
device
:
WGPUDevice
format
:
WGPUTextureFormat
usage
:
WGPUTextureUsage
width
:
u32
height
:
u32
viewFormatCount
:
u64
viewFormats
:
*
WGPUTextureFormat
alphaMode
:
WGPUCompositeAlphaMode
presentMode
:
WGPUPresentMode
See also
WGPUSurfaceCapabilities
WGPUSurfaceColorManagement
WGPUSurfaceDescriptor
WGPUSurfaceSourceAndroidNativeWindow