Add D2D1 docs, rename GetPixelShaderConstantBuffer API

このコミットが含まれているのは:
Sergio Pedri committed 2022-04-24 22:04:08 +02:00
1 親 cd4f6ed1fb
コミット 538da10920
2ファイル変更
+37 -1

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

+1 -1
ファイルの表示
@@ -86,7 +86,7 @@ public static unsafe class D2D1InteropServices
/// <remarks>
/// This method will allocate a buffer every time it is invoked.
/// For a zero-allocation alternative, use <see cref="SetPixelShaderConstantBufferForD2D1DrawInfo"/>.</remarks>
public static ReadOnlyMemory<byte> GetPixelShaderConstantBufferForD2D1DrawInfo<T>(in T shader)
public static ReadOnlyMemory<byte> GetPixelShaderConstantBuffer<T>(in T shader)
where T : unmanaged, ID2D1PixelShader
{
D2D1ByteArrayDispatchDataLoader dataLoader = default;