Files
metabuilder/gameengine/packages/materialx/javascript/MaterialXTest/testHelpers.js
johndoe6345789 6fbc47a2db feat: Add SDL3CPlusPlus game engine to gameengine/
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>
2026-01-21 16:29:20 +00:00

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;
}