Added base Texture3D<T> class (with no APIs)
このコミットが含まれているのは:
1 親
42049c7a62
コミット
57a43c48b8
3ファイル変更
+186
検索条件に一致するファイルはありません
@@ -71,5 +71,18 @@ namespace ComputeSharp.Exceptions
|
||||
{
|
||||
throw Create(texture, texture.GraphicsDevice, device);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Throws a new <see cref="GraphicsDeviceMismatchException"/> instance from the specified parameters.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The type of values in the input buffer.</typeparam>
|
||||
/// <param name="texture">The input <see cref="Texture3D{T}"/> that was used.</param>
|
||||
/// <param name="device">The target <see cref="GraphicsDevice"/> instance that was used.</param>
|
||||
[Pure]
|
||||
internal static void Throw<T>(Texture3D<T> texture, GraphicsDevice device)
|
||||
where T : unmanaged
|
||||
{
|
||||
throw Create(texture, texture.GraphicsDevice, device);
|
||||
}
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする