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
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue