summaryrefslogtreecommitdiff
path: root/video.hpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-03-02 19:23:29 +1100
committerquou <quou@disroot.org>2025-03-02 19:23:29 +1100
commit0bc95e2084b970819d15306f7e3ab8b81a108dcd (patch)
tree6ae82f21acc6209cdf761042e51874c3eb17edef /video.hpp
parent5b548cb866405b6716d5f904e4df75c07dbbad9b (diff)
generate mips for textures
Diffstat (limited to 'video.hpp')
-rw-r--r--video.hpp9
1 files changed, 9 insertions, 0 deletions
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();