/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Engine/RendererFoundation/Resources/ProxyTexture.h
27 строк
901 B
Sanakan8472
Resource View Refactor (#1589)
27 июн 2025, 09:33
Не верифицирован
27 июн 2025, 09:33
ae74d7e
Код
Авторство
О чём код?
#pragma once #include <RendererFoundation/Resources/Texture.h> class EZ_RENDERERFOUNDATION_DLL ezGALProxyTexture : public ezGALTexture { public: virtual ~ezGALProxyTexture(); virtual const ezGALResourceBase* GetParentResource() const override; ezGALTextureHandle GetParentTextureHandle() const { return m_hParentTexture; } ezUInt16 GetSlice() const { return m_uiSlice; } protected: friend class ezGALDevice; ezGALProxyTexture(ezGALTextureHandle hParentTexture, const ezGALTexture& parentTexture, ezUInt16 uiSlice); virtual ezResult InitPlatform(ezGALDevice* pDevice, ezArrayPtr<ezGALSystemMemoryDescription> pInitialData) override; virtual ezResult DeInitPlatform(ezGALDevice* pDevice) override; virtual void SetDebugNamePlatform(const char* szName) const override; ezGALTextureHandle m_hParentTexture; const ezGALTexture* m_pParentTexture; ezUInt16 m_uiSlice = 0; };