IShaderLoader.LoadFromSource(ShaderSource) Method
Definition
Namespace: Brine2D.Rendering
Loads a shader from source code \(HLSL\) or bytecode \(SPIRV\). ShaderCross will automatically transpile to the correct format for the current GPU backend.
Parameters
source ShaderSource