/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/RendererVulkan/Shader/BindGroupVulkan.h
32 строки
1 KB
Sanakan8472
Moved Vulkan-SDK into ThirdParty (#1711)
16 ноя 2025, 16:42
Не верифицирован
16 ноя 2025, 16:42
ab29cde
Код
Авторство
О чём код?
#pragma once #include <RendererFoundation/RendererFoundationDLL.h> #include <RendererFoundation/Shader/BindGroup.h> #include <RendererVulkan/Pools/DescriptorSetPoolVulkan.h> #include <RendererVulkan/RendererVulkanDLL.h> class ezGALBindGroupVulkan : public ezGALBindGroup { public: inline vk::DescriptorSet GetDescriptorSet() const { return m_DescriptorSet; } inline ezArrayPtr<const ezUInt32> GetOffsets() const { return m_Offsets.GetArrayPtr(); } protected: friend class ezGALDeviceVulkan; friend class ezMemoryUtils; virtual ezResult InitPlatform(ezGALDevice* pDevice) override; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) override; virtual void Invalidate(ezGALDevice* pDevice) override; virtual bool IsInvalidated() const override; virtual void SetDebugNamePlatform(const char* szName) const override; ezGALBindGroupVulkan(const ezGALBindGroupCreationDescription& Description); virtual ~ezGALBindGroupVulkan(); private: vk::DescriptorSet m_DescriptorSet; ezHybridArray<ezUInt32, 1> m_Offsets; ezDescriptorSetPoolVulkan::Allocation m_Allocation; };