You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 17:36:07 +00:00
Use a different strategy to get textures from GPU (via buffers), for more compatibility.
This commit is contained in:
@@ -150,7 +150,7 @@ class RenderingDeviceVulkan : public RenderingDevice {
|
||||
RID_Owner<Texture, true> texture_owner;
|
||||
uint32_t texture_upload_region_size_px;
|
||||
|
||||
PoolVector<uint8_t> _texture_get_data_from_image(Texture *tex, VkImage p_image, VmaAllocation p_allocation, uint32_t p_layer);
|
||||
PoolVector<uint8_t> _texture_get_data_from_image(Texture *tex, VkImage p_image, VmaAllocation p_allocation, uint32_t p_layer, bool p_2d = false);
|
||||
|
||||
/*****************/
|
||||
/**** SAMPLER ****/
|
||||
|
||||
Reference in New Issue
Block a user