gpu: add Surface.DescriptorFromAndroidNativeWindow
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
637e0c92d3
commit
598a99d3ed
2 changed files with 5 additions and 5 deletions
|
|
@ -1,8 +1,3 @@
|
|||
pub const WGPUSurfaceDescriptorFromAndroidNativeWindow = extern struct {
|
||||
chain: ChainedStruct,
|
||||
window: *anyopaque,
|
||||
};
|
||||
|
||||
pub const WGPUSurfaceDescriptorFromCanvasHTMLSelector = extern struct {
|
||||
chain: ChainedStruct,
|
||||
selector: [*:0]const u8,
|
||||
|
|
|
|||
|
|
@ -10,4 +10,9 @@ pub const Surface = enum(usize) {
|
|||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
};
|
||||
|
||||
pub const DescriptorFromAndroidNativeWindow = extern struct {
|
||||
chain: ChainedStruct,
|
||||
window: *anyopaque,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue