gpu: make Buffer.get*MappedRange a friendlier slice API

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-11 06:39:10 -07:00 committed by Stephen Gutekanst
parent 1848ac8ac7
commit 825a07ac2f
4 changed files with 34 additions and 12 deletions

View file

@ -1,3 +1,4 @@
const std = @import("std");
const CommandBuffer = @import("command_buffer.zig").CommandBuffer;
const Buffer = @import("buffer.zig").Buffer;
const Texture = @import("texture.zig").Texture;