Function ComputeShaderParse
-
Parameters
- source: any
defines the JSON representation of the compute shader
- scene: Scene
defines the hosting scene
- rootUrl: string
defines the root URL to use to load textures and relative dependencies
Returns ComputeShader
a new compute shader
- source: any
Creates a compute shader from parsed compute shader data