gpu: add CopyTextureForBrowserOptions

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-15 23:06:20 -07:00 committed by Stephen Gutekanst
parent 3ab623f360
commit 2877121147
2 changed files with 11 additions and 11 deletions

View file

@ -1,14 +1,3 @@
typedef struct WGPUCopyTextureForBrowserOptions {
next_in_chain: *const ChainedStruct,
flip_y: bool,
needs_color_space_conversion: bool,
WGPUAlphaMode srcAlphaMode;
float const * srcTransferFunctionParameters; // nullable
float const * conversionMatrix; // nullable
float const * dstTransferFunctionParameters; // nullable
WGPUAlphaMode dstAlphaMode;
} WGPUCopyTextureForBrowserOptions;
typedef struct WGPUDawnCacheDeviceDescriptor {
WGPUChainedStruct chain;
char const * isolationKey;