/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/RendererFoundation/State/State.h
55 строк
2 KB
C-Core
Render instance data refactor (#1713)
19 ноя 2025, 20:31
Не верифицирован
19 ноя 2025, 20:31
b8e6103
Код
Авторство
О чём код?
#pragma once #include <RendererFoundation/Descriptors/Descriptors.h> #include <RendererFoundation/Resources/Resource.h> class EZ_RENDERERFOUNDATION_DLL ezGALBlendState : public ezGALObject<ezGALBlendStateCreationDescription> { public: protected: ezGALBlendState(const ezGALBlendStateCreationDescription& Description); virtual ~ezGALBlendState(); virtual ezResult InitPlatform(ezGALDevice* pDevice) = 0; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) = 0; }; class EZ_RENDERERFOUNDATION_DLL ezGALDepthStencilState : public ezGALObject<ezGALDepthStencilStateCreationDescription> { public: protected: ezGALDepthStencilState(const ezGALDepthStencilStateCreationDescription& Description); virtual ~ezGALDepthStencilState(); virtual ezResult InitPlatform(ezGALDevice* pDevice) = 0; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) = 0; }; class EZ_RENDERERFOUNDATION_DLL ezGALRasterizerState : public ezGALObject<ezGALRasterizerStateCreationDescription> { public: protected: ezGALRasterizerState(const ezGALRasterizerStateCreationDescription& Description); virtual ~ezGALRasterizerState(); virtual ezResult InitPlatform(ezGALDevice* pDevice) = 0; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) = 0; }; class EZ_RENDERERFOUNDATION_DLL ezGALSamplerState : public ezGALResource<ezGALSamplerStateCreationDescription> { public: protected: ezGALSamplerState(const ezGALSamplerStateCreationDescription& Description); virtual ~ezGALSamplerState(); virtual void SetDebugNamePlatform(const char* szName) const override { EZ_IGNORE_UNUSED(szName); }; virtual ezResult InitPlatform(ezGALDevice* pDevice) = 0; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) = 0; };