gpu: add ExternalTexture.Descriptor
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4dc69a9de6
commit
128f87a3fd
2 changed files with 13 additions and 12 deletions
|
|
@ -1,15 +1,3 @@
|
|||
typedef struct WGPUExternalTextureDescriptor {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
WGPUTextureView plane0;
|
||||
WGPUTextureView plane1; // nullable
|
||||
do_yuv_to_rgb_conversion_only: bool,
|
||||
float const * yuvToRgbConversionMatrix; // nullable
|
||||
float const * srcTransferFunctionParameters;
|
||||
float const * dstTransferFunctionParameters;
|
||||
float const * gamutConversionMatrix;
|
||||
} WGPUExternalTextureDescriptor;
|
||||
|
||||
typedef struct WGPUInstanceDescriptor {
|
||||
next_in_chain: *const ChainedStruct,
|
||||
} WGPUInstanceDescriptor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue