Implemented support for readonly buffers in shaders
このコミットが含まれているのは:
1 親
03c5c7c190
コミット
5e7ae2b91e
2ファイル変更
+31
-19
検索条件に一致するファイルはありません
@@ -69,8 +69,8 @@ namespace ComputeSharp.Shaders.Mappings
|
||||
/// <param name="type">The input <see cref="Type"/> instance to check</param>
|
||||
/// <returns>A <see langword="bool"/> indicating whether the input <see cref="Type"/> is in fact a <see cref="ReadOnlyBuffer{T}"/> instance</returns>
|
||||
[Pure]
|
||||
public static bool IsReaadOnlyBufferType(Type type) => type.IsGenericType &&
|
||||
type.GetGenericTypeDefinition() == typeof(ReadOnlyBuffer<>);
|
||||
public static bool IsReadOnlyBufferType(Type type) => type.IsGenericType &&
|
||||
type.GetGenericTypeDefinition() == typeof(ReadOnlyBuffer<>);
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether or not the input type is a <see cref="ReadWriteBuffer{T}"/> value
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする