gpu: add PowerPreference enum
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
806ec0d147
commit
792e64906f
2 changed files with 6 additions and 7 deletions
|
|
@ -1,12 +1,5 @@
|
|||
typedef uint32_t WGPUFlags;
|
||||
|
||||
typedef enum WGPUPowerPreference {
|
||||
WGPUPowerPreference_Undefined = 0x00000000,
|
||||
WGPUPowerPreference_LowPower = 0x00000001,
|
||||
WGPUPowerPreference_HighPerformance = 0x00000002,
|
||||
WGPUPowerPreference_Force32 = 0x7FFFFFFF
|
||||
} WGPUPowerPreference;
|
||||
|
||||
typedef enum WGPUPresentMode {
|
||||
WGPUPresentMode_Immediate = 0x00000000,
|
||||
WGPUPresentMode_Mailbox = 0x00000001,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue