5a30a7e7cd
Metal Support contributed by Migeran (https://migeran.com) and Stuart Carnie. Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com> Co-authored-by: Gergely Kis <gergely.kis@migeran.com>
14 lines
414 B
Python
14 lines
414 B
Python
#!/usr/bin/env python
|
|
from misc.utility.scons_hints import *
|
|
|
|
Import("env")
|
|
|
|
if env["vulkan"]:
|
|
env.add_source_files(env.editor_sources, "shader_baker_export_plugin_platform_vulkan.cpp")
|
|
|
|
if env["d3d12"]:
|
|
env.add_source_files(env.editor_sources, "shader_baker_export_plugin_platform_d3d12.cpp")
|
|
|
|
if env["metal"]:
|
|
env.add_source_files(env.editor_sources, "shader_baker_export_plugin_platform_metal.cpp")
|