diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-01-04 10:00:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 10:00:17 +0100 |
commit | 7f66c16c03ceaaceac1871e72df4419e59c64c64 (patch) | |
tree | d415cfbc05589d74113157f295b6b64dc8fb990d /drivers/vulkan/rendering_device_vulkan.h | |
parent | 2536d6ca209ee3845497173433a30dcace20c746 (diff) | |
parent | 0eff109a21fb5c0bd031a91c540983e77e75343b (diff) | |
download | redot-engine-7f66c16c03ceaaceac1871e72df4419e59c64c64.tar.gz |
Merge pull request #51206 from clayjohn/Vulkan-ASSGI
Diffstat (limited to 'drivers/vulkan/rendering_device_vulkan.h')
-rw-r--r-- | drivers/vulkan/rendering_device_vulkan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vulkan/rendering_device_vulkan.h b/drivers/vulkan/rendering_device_vulkan.h index ce44507caa..b953dfbb10 100644 --- a/drivers/vulkan/rendering_device_vulkan.h +++ b/drivers/vulkan/rendering_device_vulkan.h @@ -1037,7 +1037,7 @@ public: virtual RID texture_create(const TextureFormat &p_format, const TextureView &p_view, const Vector<Vector<uint8_t>> &p_data = Vector<Vector<uint8_t>>()); virtual RID texture_create_shared(const TextureView &p_view, RID p_with_texture); - virtual RID texture_create_shared_from_slice(const TextureView &p_view, RID p_with_texture, uint32_t p_layer, uint32_t p_mipmap, TextureSliceType p_slice_type = TEXTURE_SLICE_2D); + virtual RID texture_create_shared_from_slice(const TextureView &p_view, RID p_with_texture, uint32_t p_layer, uint32_t p_mipmap, uint32_t p_mipmaps = 1, TextureSliceType p_slice_type = TEXTURE_SLICE_2D); virtual Error texture_update(RID p_texture, uint32_t p_layer, const Vector<uint8_t> &p_data, uint32_t p_post_barrier = BARRIER_MASK_ALL); virtual Vector<uint8_t> texture_get_data(RID p_texture, uint32_t p_layer); |