diff options
author | quou <quou@disroot.org> | 2025-03-02 19:23:29 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-03-02 19:23:29 +1100 |
commit | 0bc95e2084b970819d15306f7e3ab8b81a108dcd (patch) | |
tree | 6ae82f21acc6209cdf761042e51874c3eb17edef /video.hpp | |
parent | 5b548cb866405b6716d5f904e4df75c07dbbad9b (diff) |
generate mips for textures
Diffstat (limited to 'video.hpp')
-rw-r--r-- | video.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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(); |