gpu: add ExternalTexture.BindingLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
2fbd4b06d9
commit
4dc69a9de6
2 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,3 @@
|
|||
typedef struct WGPUExternalTextureBindingLayout {
|
||||
WGPUChainedStruct chain;
|
||||
} WGPUExternalTextureBindingLayout;
|
||||
|
||||
typedef struct WGPUExternalTextureDescriptor {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
|
|
|
|||
|
|
@ -10,4 +10,8 @@ pub const ExternalTexture = enum(usize) {
|
|||
chain: ChainedStruct,
|
||||
external_texture: ExternalTexture,
|
||||
};
|
||||
|
||||
pub const BindingLayout = extern struct {
|
||||
chain: ChainedStruct,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue