Cleanup the D2D1 generator constant buffer code
Also bumps the maximum constant buffer size
このコミットが含まれているのは:
1 親
c9b4bf3431
コミット
b51b002a3a
12ファイル変更
+44
-56
検索条件に一致するファイルはありません
@@ -29,8 +29,8 @@ internal struct D2D1ByteArrayDispatchDataLoader : ID2D1DispatchDataLoader
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
void ID2D1DispatchDataLoader.LoadConstantBuffer(ReadOnlySpan<uint> data)
|
||||
void ID2D1DispatchDataLoader.LoadConstantBuffer(ReadOnlySpan<byte> data)
|
||||
{
|
||||
this.data = MemoryMarshal.AsBytes(data).ToArray();
|
||||
this.data = data.ToArray();
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする