gpu: add Surface.DescriptorFromMetalLayer
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
9c6882ba8a
commit
f721102a3a
2 changed files with 5 additions and 5 deletions
|
|
@ -1,8 +1,3 @@
|
|||
pub const WGPUSurfaceDescriptorFromMetalLayer = extern struct {
|
||||
chain: ChainedStruct,
|
||||
layer: *anyopaque,
|
||||
};
|
||||
|
||||
pub const WGPUSurfaceDescriptorFromWaylandSurface = extern struct {
|
||||
chain: ChainedStruct,
|
||||
display: *anyopaque,
|
||||
|
|
|
|||
|
|
@ -20,4 +20,9 @@ pub const Surface = enum(usize) {
|
|||
chain: ChainedStruct,
|
||||
selector: [*:0]const u8,
|
||||
};
|
||||
|
||||
pub const DescriptorFromMetalLayer = extern struct {
|
||||
chain: ChainedStruct,
|
||||
layer: *anyopaque,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue