WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUExternalTextureBindingEntry Struct Reference

Data Fields

WGPUChainedStruct chain
 
WGPUExternalTexture externalTexture
 

Detailed Description

Chained in an WGPUBindGroupEntry to set it to an WGPUExternalTexture. This must have a corresponding WGPUExternalTextureBindingLayout in the WGPUBindGroupLayout.

Default values can be set using WGPU_EXTERNAL_TEXTURE_BINDING_ENTRY_INIT as initializer.

Definition at line 2140 of file webgpu.h.

Field Documentation

◆ chain

WGPUChainedStruct WGPUExternalTextureBindingEntry::chain

Definition at line 2141 of file webgpu.h.

◆ externalTexture

WGPUExternalTexture WGPUExternalTextureBindingEntry::externalTexture

The INIT macro sets this to NULL.

Definition at line 2145 of file webgpu.h.