gpu: convert TextureView from enum(usize) to *opaque

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-24 15:01:34 -07:00 committed by Stephen Gutekanst
parent 5c5990a84f
commit 7f952545b9
5 changed files with 29 additions and 31 deletions

View file

@ -13,7 +13,7 @@ pub const BindGroupEntry = extern struct {
offset: u64,
size: u64,
sampler: ?Sampler,
texture_view: TextureView = TextureView.none, // nullable
texture_view: ?TextureView,
};
pub const BindGroupDescriptor = extern struct {