source
The source code for the shader.
Declaration
var source: String? { get set }Discussion
The source code for a shader object can be updated at runtime. However, recompiling the fragment shader can be an expensive operation.
The source code for the shader.
var source: String? { get set }The source code for a shader object can be updated at runtime. However, recompiling the fragment shader can be an expensive operation.