mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-26 14:54:55 +00:00
Import SDL3CPlusPlus C++ game engine with: - SDL3 + bgfx rendering backend - Vulkan/Metal/DirectX shader support - MaterialX material system - Scene framework with ECS architecture - Comprehensive test suite (TDD approach) - Conan package management - CMake build system This provides the native C++ foundation for the Universal Platform's Game and 3D capability modules. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
15 lines
354 B
JavaScript
Executable File
15 lines
354 B
JavaScript
Executable File
var fs = require('fs');
|
|
var path = require('path');
|
|
|
|
export function getMtlxStrings(fileNames, subPath)
|
|
{
|
|
const mtlxStrs = [];
|
|
for (let i = 0; i < fileNames.length; i++)
|
|
{
|
|
const p = path.resolve(subPath, fileNames[parseInt(i, 10)]);
|
|
const t = fs.readFileSync(p, 'utf8');
|
|
mtlxStrs.push(t);
|
|
}
|
|
return mtlxStrs;
|
|
}
|