Shader compilation, uniforms, vertex buffers and notes.

This commit is contained in:
2024-09-13 23:28:06 +02:00
parent d6745226a1
commit 660a6cedea
9 changed files with 370 additions and 28 deletions

View File

@@ -0,0 +1,12 @@
from SCons.Script import *
def exists(env: Environment) -> bool:
return True
def generate(env : Environment):
glslang_spv_builder = Builder(
action = '$GLSLANG -V -o $TARGET $SOURCE'
)
env['GLSLANG'] = 'glslang'
env.Append(BUILDERS={'SpirV': glslang_spv_builder})