Restore DIMs for private shader APIs

このコミットが含まれているのは:
Sergio Pedri committed 2022-04-24 21:03:45 +02:00
1 親 4f6119daf9
コミット 942d5bd3c5
2ファイル変更
+56 -7

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

+16 -2
ファイルの表示
@@ -19,7 +19,14 @@ public interface ID2D1Shader
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is not intended to be called directly by user code")]
void LoadDispatchData<TLoader>(ref TLoader loader)
where TLoader : struct, ID2D1DispatchDataLoader;
where TLoader : struct, ID2D1DispatchDataLoader
#if NET6_0_OR_GREATER
{
throw new NotImplementedException();
}
#else
;
#endif
/// <summary>
/// Loads the bytecode for the current shader.
@@ -30,5 +37,12 @@ public interface ID2D1Shader
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is not intended to be used directly by user code")]
void LoadBytecode<TLoader>(ref TLoader loader, out string hlslSource)
where TLoader : struct, ID2D1BytecodeLoader;
where TLoader : struct, ID2D1BytecodeLoader
#if NET6_0_OR_GREATER
{
throw new NotImplementedException();
}
#else
;
#endif
}