Synced
ShaderCompileTarget.Constructor
Section titled “ShaderCompileTarget.Constructor”
- Creates a shader compilation target.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets.Authoring
Declaration
Section titled “Declaration”public Inno.Rendering.Assets.Authoring.ShaderCompileTarget.ShaderCompileTarget(string profileKey, Inno.Rendering.GraphicsCapabilities capabilities, bool optimize = true, bool debugInformation = false)Parameters
Section titled “Parameters”Parameter profileKey: Backend compiler-owned stable profile key.
Parameter capabilities: Target renderer capabilities.
Parameter optimize: Whether release optimization is enabled.
Parameter debugInformation: Whether shader debug information is emitted.