preprocessShaderFromUrl

fun preprocessShaderFromUrl(url: String, symbols: MutableSet<String> = mutableSetOf()): String(source)

Preprocess shader source from url Looks for "#pragma import" statements and injects found phrases.

Return

GLSL source code with injected shader phrases

Parameters

url

url pointing to GLSL shader source