/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/RendererVulkan/State/StateVulkan.h
87 строк
2 KB
Sanakan8472
Copy / Readback fixes (#1963)
11 июн 2026, 18:07
Не верифицирован
11 июн 2026, 18:07
b50d6f1
Код
Авторство
О чём код?
#pragma once #include <RendererVulkan/RendererVulkanDLL.h> #include <RendererFoundation/State/State.h> class EZ_RENDERERVULKAN_DLL ezGALBlendStateVulkan : public ezGALBlendState { public: EZ_ALWAYS_INLINE const vk::PipelineColorBlendStateCreateInfo* GetBlendState() const; protected: friend class ezGALDeviceVulkan; friend class ezMemoryUtils; ezGALBlendStateVulkan(const ezGALBlendStateCreationDescription& Description); ~ezGALBlendStateVulkan(); virtual ezResult InitPlatform(ezGALDevice* pDevice) override; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) override; vk::PipelineColorBlendStateCreateInfo m_BlendState = {}; vk::PipelineColorBlendAttachmentState m_blendAttachmentState[8] = {}; }; class EZ_RENDERERVULKAN_DLL ezGALDepthStencilStateVulkan : public ezGALDepthStencilState { public: EZ_ALWAYS_INLINE const vk::PipelineDepthStencilStateCreateInfo* GetDepthStencilState() const; protected: friend class ezGALDeviceVulkan; friend class ezMemoryUtils; ezGALDepthStencilStateVulkan(const ezGALDepthStencilStateCreationDescription& Description); ~ezGALDepthStencilStateVulkan(); virtual ezResult InitPlatform(ezGALDevice* pDevice) override; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) override; vk::PipelineDepthStencilStateCreateInfo m_DepthStencilState = {}; }; class EZ_RENDERERVULKAN_DLL ezGALRasterizerStateVulkan : public ezGALRasterizerState { public: EZ_ALWAYS_INLINE const vk::PipelineRasterizationStateCreateInfo* GetRasterizerState() const; protected: friend class ezGALDeviceVulkan; friend class ezMemoryUtils; ezGALRasterizerStateVulkan(const ezGALRasterizerStateCreationDescription& Description); ~ezGALRasterizerStateVulkan(); virtual ezResult InitPlatform(ezGALDevice* pDevice) override; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) override; vk::PipelineRasterizationStateCreateInfo m_RasterizerState = {}; }; class EZ_RENDERERVULKAN_DLL ezGALSamplerStateVulkan : public ezGALSamplerState { public: EZ_ALWAYS_INLINE const vk::DescriptorImageInfo& GetImageInfo() const; protected: friend class ezGALDeviceVulkan; friend class ezMemoryUtils; ezGALSamplerStateVulkan(const ezGALSamplerStateCreationDescription& Description); ~ezGALSamplerStateVulkan(); virtual ezResult InitPlatform(ezGALDevice* pDevice) override; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) override; vk::DescriptorImageInfo m_ResourceImageInfo; }; #include <RendererVulkan/State/Implementation/StateVulkan_inl.h>