gpu: add ExternalTexture.BindingEntry
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
99cffbf321
commit
2fbd4b06d9
3 changed files with 7 additions and 8 deletions
|
|
@ -1,6 +1,13 @@
|
|||
pub const ChainedStruct = @import("types.zig").ChainedStruct;
|
||||
|
||||
pub const ExternalTexture = enum(usize) {
|
||||
_,
|
||||
|
||||
// TODO: verify there is a use case for nullable value of this type.
|
||||
pub const none: ExternalTexture = @intToEnum(ExternalTexture, 0);
|
||||
|
||||
pub const BindingEntry = extern struct {
|
||||
chain: ChainedStruct,
|
||||
external_texture: ExternalTexture,
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue