gpu: add Sampler.AddressMode

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-10 21:17:12 -07:00 committed by Stephen Gutekanst
parent af9c01d851
commit ee65cb286c
2 changed files with 6 additions and 7 deletions

View file

@ -1 +1,7 @@
ptr: *anyopaque,
pub const AddressMode = enum(u32) {
repeat = 0x00000000,
mirror_repeat = 0x00000001,
clamp_to_edge = 0x00000002,
};