gpu: implement Sampler

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-09 11:53:45 -07:00 committed by Stephen Gutekanst
parent 1563fc7246
commit b29fa9e13d
5 changed files with 63 additions and 0 deletions

View file

@ -21,3 +21,9 @@ pub inline fn reference(texture: Texture) void {
pub inline fn release(texture: Texture) void {
texture.vtable.release(texture.ptr);
}
test "syntax" {
_ = VTable;
_ = reference;
_ = release;
}