Wire up [D2D1CompileOptions] to all generated code and public APIs

Also removes the diagnostics for invalid linking setup
このコミットが含まれているのは:
Sergio Pedri committed 2022-05-22 15:50:28 +02:00
1 親 b4b8b76d2f
コミット d75993107a
10ファイル変更
+133 -68

検索条件に一致するファイルはありません

+2 -1
ファイルの表示
@@ -88,9 +88,10 @@ public interface ID2D1Shader
/// <typeparam name="TLoader">The type of bytecode loader being used.</typeparam>
/// <param name="loader">The <typeparamref name="TLoader"/> instance to use to load the bytecode.</param>
/// <param name="shaderProfile">The shader profile to use to get the shader bytecode (if <see langword="null"/>, the precompiled shader will be used).</param>
/// <param name="options">The compile options to use to get the shader bytecode (if <see langword="null"/>, the precompiled shader will be used).</param>
/// <exception cref="InvalidOperationException">Thrown if a precompiled bytecode was requested (<paramref name="shaderProfile"/> is <see langword="null"/>), but it wasn't availablle.</exception>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is not intended to be used directly by user code")]
void LoadBytecode<TLoader>(ref TLoader loader, D2D1ShaderProfile? shaderProfile)
void LoadBytecode<TLoader>(ref TLoader loader, D2D1ShaderProfile? shaderProfile, D2D1CompileOptions? options)
where TLoader : struct, ID2D1BytecodeLoader;
}