Skip to content

Commit

Permalink
Add usages to WGPUSurfaceCapabilities (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
beaufortfrancois committed Jun 10, 2024
1 parent 2a15995 commit f686ddf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,7 @@ typedef struct WGPUStorageTextureBindingLayout {

typedef struct WGPUSurfaceCapabilities {
WGPUChainedStructOut * nextInChain;
WGPUTextureUsageFlags usages;
size_t formatCount;
WGPUTextureFormat const * formats;
size_t presentModeCount;
Expand Down
4 changes: 4 additions & 0 deletions webgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1667,6 +1667,10 @@ structs:
type: base_out
free_members: true
members:
- name: usages
doc: |
TODO
type: bitflag.texture_usage
- name: formats
doc: |
TODO
Expand Down

0 comments on commit f686ddf

Please sign in to comment.