gpu: add BufferMapCallback

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-24 23:19:59 -07:00 committed by Stephen Gutekanst
parent 8f4c618f00
commit 8514687ca4
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,8 @@ const ChainedStruct = @import("types.zig").ChainedStruct;
pub const Buffer = *opaque {};
pub const BufferMapCallback = fn (status: BufferMapAsyncStatus, userdata: *anyopaque) callconv(.C) void;
pub const BufferBindingType = enum(u32) {
undef = 0x00000000,
uniform = 0x00000001,