gpu: convert TextureView from enum(usize) to *opaque
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
5c5990a84f
commit
7f952545b9
5 changed files with 29 additions and 31 deletions
|
|
@ -16,7 +16,7 @@ pub const ExternalTextureDescriptor = extern struct {
|
|||
next_in_chain: *const ChainedStruct,
|
||||
label: ?[*:0]const u8 = null,
|
||||
plane0: TextureView,
|
||||
plane1: TextureView = TextureView.none, // nullable
|
||||
plane1: ?TextureView,
|
||||
do_yuv_to_rgb_conversion_only: bool,
|
||||
yuv_to_rgb_conversion_matrix: ?[*]const f32 = null, // nullable
|
||||
src_transform_function_parameters: [*]const f32,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue