mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 12:18:30 +09:00
28 lines
993 B
C++
28 lines
993 B
C++
// MobileGL - MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanRendererConfig.h
|
|
// Copyright (c) 2025-2026 MobileGL-Dev
|
|
// Licensed under the GNU Lesser General Public License v3.0:
|
|
// https://www.gnu.org/licenses/gpl-3.0.txt
|
|
// https://www.gnu.org/licenses/lgpl-3.0.txt
|
|
// SPDX-License-Identifier: LGPL-3.0-only
|
|
// End of Source File Header
|
|
|
|
#pragma once
|
|
#include "Config.h"
|
|
|
|
namespace MobileGL::MG_Backend::DirectVulkan {
|
|
struct VulkanRendererConfig {
|
|
Uint32 MaxFramesInFlight = 3;
|
|
String AppName = "MobileGL-VulkanRenderer";
|
|
MobileGL::Version Version = MG_Config::CoreVersion;
|
|
Uint64 CacheVersion = MG_Config::CacheVersion;
|
|
Uint32 SurfaceWidth = 1;
|
|
Uint32 SurfaceHeight = 1;
|
|
Bool DisablePipelineCache = false;
|
|
#if MOBILEGL_LOG_ACTIVE_LEVEL <= MOBILEGL_LOG_LEVEL_DEBUG
|
|
Bool EnableValidationLayers = true;
|
|
#else
|
|
Bool EnableValidationLayers = false;
|
|
#endif
|
|
};
|
|
} // namespace MobileGL::MG_Backend::DirectVulkan
|