Skip to content

Commit

Permalink
Make WGPUSurfaceTexture extensible (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x authored Nov 12, 2024
1 parent 97636ad commit a56c6fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -1929,6 +1929,7 @@ typedef struct WGPUSurfaceSourceXlibWindow {
* See @ref Surface-Presenting for more details.
*/
typedef struct WGPUSurfaceTexture {
WGPUChainedStructOut * nextInChain;
/**
* The @ref WGPUTexture representing the frame that will be shown on the surface.
* It is @ref ReturnedWithOwnership from @ref wgpuSurfaceGetCurrentTexture.
Expand Down
2 changes: 1 addition & 1 deletion webgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2804,7 +2804,7 @@ structs:
doc: |
Queried each frame from a @ref WGPUSurface to get a @ref WGPUTexture to render to along with some metadata.
See @ref Surface-Presenting for more details.
type: standalone
type: base_out
members:
- name: texture
doc: |
Expand Down

0 comments on commit a56c6fe

Please sign in to comment.