gpu: add RequestAdapterOptions
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
a91186c2c9
commit
b90658aba8
3 changed files with 13 additions and 12 deletions
|
|
@ -1,10 +1,3 @@
|
|||
pub const RequestAdapterOptions = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
compatible_surface: Surface = Surface.none, // nullable
|
||||
power_preference: PowerPreference,
|
||||
force_fallback_adapter: bool,
|
||||
};
|
||||
|
||||
pub const SamplerBindingLayout = extern struct {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
type: SamplerBindingType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue