/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/RendererVulkan/Shader/BindGroupLayoutVulkan.h
32 строки
1 KB
Sanakan8472
Copy / Readback fixes (#1963)
11 июн 2026, 18:07
Не верифицирован
11 июн 2026, 18:07
b50d6f1
Код
Авторство
О чём код?
#pragma once #include <RendererVulkan/RendererVulkanDLL.h> #include <RendererFoundation/RendererFoundationDLL.h> #include <RendererFoundation/Shader/BindGroupLayout.h> #include <RendererVulkan/Device/DeclarationsVulkan.h> class ezDescriptorSetPoolVulkan; class ezGALBindGroupLayoutVulkan : public ezGALBindGroupLayout { public: inline const vk::DescriptorSetLayout& GetDescriptorSetLayout() const { return m_DescriptorSetLayout; } ezDescriptorSetPoolVulkan* GetDescriptorSetPool() const; protected: friend class ezGALDeviceVulkan; friend class ezMemoryUtils; virtual ezResult InitPlatform(ezGALDevice* pDevice) override; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) override; ezGALBindGroupLayoutVulkan(const ezGALBindGroupLayoutCreationDescription& Description); virtual ~ezGALBindGroupLayoutVulkan(); private: vk::DescriptorSetLayout m_DescriptorSetLayout; ezBindGroupLayoutResourceUsageVulkan m_ResourceUsage; // How many resources of each type each descriptor set uses. ezSharedPtr<ezDescriptorSetPoolVulkan> m_pDescriptorSetPool; };