mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
VideoBackends: add a way to load data into a specific level AND layer, default to layer 0
This commit is contained in:
parent
41272dc5f1
commit
7bea39b39e
15 changed files with 43 additions and 42 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
virtual void ResolveFromTexture(const AbstractTexture* src, const MathUtil::Rectangle<int>& rect,
|
||||
u32 layer, u32 level) = 0;
|
||||
virtual void Load(u32 level, u32 width, u32 height, u32 row_length, const u8* buffer,
|
||||
size_t buffer_size) = 0;
|
||||
size_t buffer_size, u32 layer = 0) = 0;
|
||||
|
||||
// Hints to the backend that we have finished rendering to this texture, and it will be used
|
||||
// as a shader resource and sampled. For Vulkan, this transitions the image layout.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue