/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/UnitTests/GameEngineTest/DataStructures/DynamicTextureAtlasTest.h
38 строк
955 B
C-Core
Cookie textures and light materials for spot lights (#1579)
02 июн 2025, 16:07
Не верифицирован
02 июн 2025, 16:07
b9d4a42
Код
Авторство
О чём код?
#pragma once #include <GameEngineTest/GameEngineTestPCH.h> #include <RendererCore/Textures/DynamicTextureAtlas.h> #include "../TestClass/TestClass.h" class ezGameEngineTestDynamicTextureAtlas : public ezGameEngineTest { using SUPER = ezGameEngineTest; public: virtual const char* GetTestName() const override; virtual ezGameEngineTestApplication* CreateApplication() override; private: enum SubTests { ST_AllocationsSmall, ST_AllocationsLarge, ST_AllocationsMixed, ST_Deallocations, ST_Deallocations2, }; virtual void SetupSubTests() override; virtual ezResult InitializeSubTest(ezInt32 iIdentifier) override; virtual ezResult DeInitializeSubTest(ezInt32 iIdentifier) override; virtual ezTestAppRun RunSubTest(ezInt32 iIdentifier, ezUInt32 uiInvocationCount) override; private: ezInt32 m_iFrame = 0; ezGameEngineTestApplication* m_pOwnApplication = nullptr; ezDynamicTextureAtlas m_TextureAtlas; };