NkPlatformConfig.h
#include "NKPlatform/NkPlatformConfig.h"nkentseu::platformnkentseudependson(["NKPlatform"])Types
PlatformConfig | Platform configuration structure (compile time) |
PlatformCapabilities | Structure of the platform hardware capabilities (run time) |
Functions · 7
GetPlatformConfig | Gets the PlatformConfig singleton instance |
GetPlatformCapabilities | Gets the PlatformCapabilities singleton instance |
GetPlatformName | Gets the platform name as a string |
GetArchName | Gets the architecture name as a string |
GetCompilerName | Gets the compiler name as a string |
Is64Bit | Checks whether the target architecture is 64-bit |
IsLittleEndian | Checks whether the system is little-endian |
Macros · 17
NKENTSEU_PATH_SEPARATOR | Path separator on Windows (character) |
NKENTSEU_PATH_SEPARATOR_STR | Path separator on Windows (string) |
NKENTSEU_LINE_ENDING | End-of-line sequence on Windows |
NKENTSEU_MAX_PATH | Maximum path length on Windows (MAX_PATH) |
NKENTSEU_DYNAMIC_LIB_EXT | Windows dynamic library extension |
NKENTSEU_STATIC_LIB_EXT | Windows static library extension |
NKENTSEU_EXECUTABLE_EXT | Windows executable extension |
NKENTSEU_HAS_UNICODE | Unicode support flag |
NKENTSEU_HAS_THREADING | Multithreading support flag |
NKENTSEU_HAS_FILESYSTEM | <filesystem> support flag |
NKENTSEU_HAS_NETWORK | Network API support flag |
NKENTSEU_DEBUG_BUILD | Debug build flag |
NKENTSEU_RELEASE_BUILD | Is 1 in a Release build (NDEBUG without _DEBUG or DEBUG), 0 otherwise. |
NKENTSEU_OPTIMIZED_BUILD | Optimised build flag |
NKENTSEU_CACHE_ALIGNED | Alignment on a CPU cache line |
NKENTSEU_SIMD_ALIGNMENT | Alignment required by SIMD instructions |
NKENTSEU_SIMD_ALIGNED | Alignment for SIMD data |
Member details
Gets the PlatformConfig singleton instance
Gets the PlatformCapabilities singleton instance
Path separator on Windows (character)
Path separator on Windows (string)
End-of-line sequence on Windows
Maximum path length on Windows (MAX_PATH)
Windows dynamic library extension
Windows static library extension
Windows executable extension
Unicode support flag
Multithreading support flag
<filesystem> support flag
Network API support flag
Debug build flag
Is 1 in a Release build (NDEBUG without _DEBUG or DEBUG), 0 otherwise.
Optimised build flag
Alignment on a CPU cache line
struct NKENTSEU_CACHE_ALIGNED ThreadLocalData { int counter; // Aligné sur ligne de cache };
Alignment required by SIMD instructions
Alignment for SIMD data
NKENTSEU_SIMD_ALIGNED float simdBuffer[16]; // Aligné pour AVX/SSE
Gets the platform name as a string
Gets the architecture name as a string
Gets the compiler name as a string
Checks whether the target architecture is 64-bit
Checks whether the system is little-endian