From 0bc95e2084b970819d15306f7e3ab8b81a108dcd Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 2 Mar 2025 19:23:29 +1100 Subject: generate mips for textures --- video.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'video.hpp') diff --git a/video.hpp b/video.hpp index 5aa25bc..4afb6ba 100644 --- a/video.hpp +++ b/video.hpp @@ -553,6 +553,15 @@ struct Context { void submit(const Render_Pass& rp); void copy(Buffer_Id dst, Buffer_Id src); void copy(Texture_Id dst, Buffer_Id src); + void copy( + Texture_Id dst, + Buffer_Id src, + int mip, + int x, + int y, + int w, + int h + ); void transition(Texture_Id id, Resource_State state); void debug_push(const char* name); void debug_pop(); -- cgit v1.2.3-54-g00ecf