gpu: add Adapter.getProperties
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
2b7241be0a
commit
6ea76e770f
3 changed files with 14 additions and 4 deletions
|
|
@ -19,6 +19,10 @@ pub const Adapter = *opaque {
|
|||
pub inline fn getLimits(adapter: Adapter, limits: *SupportedLimits) bool {
|
||||
return impl.adapterGetLimits(adapter, limits);
|
||||
}
|
||||
|
||||
pub inline fn getProperties(adapter: Adapter, properties: *AdapterProperties) void {
|
||||
impl.adapterGetProperties(adapter, properties);
|
||||
}
|
||||
};
|
||||
|
||||
pub const AdapterType = enum(u32) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue