Synced
IShaderCompilerToolchain.CreateTarget
Section titled “IShaderCompilerToolchain.CreateTarget”
- Creates a target supported by this toolchain and capability snapshot.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Assets.Authoring
Declaration
Section titled “Declaration”Inno.Rendering.Assets.Authoring.ShaderCompileTarget Inno.Rendering.Assets.Authoring.IShaderCompilerToolchain.CreateTarget(Inno.Rendering.GraphicsCapabilities capabilities, bool optimize = true, bool debugInformation = false)Parameters
Section titled “Parameters”Parameter capabilities: Target renderer capabilities.
Parameter optimize: Whether release optimization is enabled.
Parameter debugInformation: Whether compiler debug information is emitted.
Returns
Section titled “Returns”A stable target description accepted by this toolchain.