mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Avoid copies of structures when returning Vulkan capabilities
This commit is contained in:
parent
74be36e622
commit
e49e9fec22
@ -272,11 +272,11 @@ public:
|
||||
|
||||
uint32_t get_vulkan_major() const { return vulkan_major; };
|
||||
uint32_t get_vulkan_minor() const { return vulkan_minor; };
|
||||
SubgroupCapabilities get_subgroup_capabilities() const { return subgroup_capabilities; };
|
||||
MultiviewCapabilities get_multiview_capabilities() const { return multiview_capabilities; };
|
||||
VRSCapabilities get_vrs_capabilities() const { return vrs_capabilities; };
|
||||
ShaderCapabilities get_shader_capabilities() const { return shader_capabilities; };
|
||||
StorageBufferCapabilities get_storage_buffer_capabilities() const { return storage_buffer_capabilities; };
|
||||
const SubgroupCapabilities &get_subgroup_capabilities() const { return subgroup_capabilities; };
|
||||
const MultiviewCapabilities &get_multiview_capabilities() const { return multiview_capabilities; };
|
||||
const VRSCapabilities &get_vrs_capabilities() const { return vrs_capabilities; };
|
||||
const ShaderCapabilities &get_shader_capabilities() const { return shader_capabilities; };
|
||||
const StorageBufferCapabilities &get_storage_buffer_capabilities() const { return storage_buffer_capabilities; };
|
||||
|
||||
VkDevice get_device();
|
||||
VkPhysicalDevice get_physical_device();
|
||||
|
Loading…
Reference in New Issue
Block a user