Files
FlaxEngine/Source/Engine/Content/Config.h
2023-01-10 15:29:37 +01:00

26 lines
948 B
C

// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
#pragma once
#include "Engine/Core/Config.h"
// Amount of content loading threads per single physical CPU core
#define LOADING_THREAD_PER_LOGICAL_CORE 0.5f
// Enable/disable additional assets metadata verification, note: we should disable it for release builds
#define ASSETS_LOADING_EXTRA_VERIFICATION (BUILD_DEBUG || USE_EDITOR)
// Maximum amount of data chunks used by the single asset
#define ASSET_FILE_DATA_CHUNKS 16
// Enables searching workspace for missing assets (should be disabled in the final builds where assets registry is solid)
#define ENABLE_ASSETS_DISCOVERY (USE_EDITOR)
// Default extension for all asset files
#define ASSET_FILES_EXTENSION TEXT("flax")
#define ASSET_FILES_EXTENSION_WITH_DOT TEXT(".flax")
// Default extension for all package files
#define PACKAGE_FILES_EXTENSION TEXT("flaxpac")
#define PACKAGE_FILES_EXTENSION_WITH_DOT TEXT(".flaxpac")