Generate resource texture descriptions as ReadOnlyMemory<T>
このコミットが含まれているのは:
1 親
99110fb0a6
コミット
b17b7c70fe
9ファイル変更
+128
-117
検索条件に一致するファイルはありません
@@ -19,6 +19,17 @@ public readonly struct D2D1ResourceTextureDescription
|
||||
/// </summary>
|
||||
private readonly int dimensions;
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new <see cref="D2D1ResourceTextureDescription"/> instance with the specified parameters.
|
||||
/// </summary>
|
||||
/// <param name="index">The index of the resource texture the description belongs to.</param>
|
||||
/// <param name="dimensions">The number of dimensions of the resource texture the description belongs to.</param>
|
||||
public D2D1ResourceTextureDescription(int index, int dimensions)
|
||||
{
|
||||
this.index = index;
|
||||
this.dimensions = dimensions;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the index of the resource texture the description belongs to.
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする