Added initial draft version of new shader data loader
このコミットが含まれているのは:
1 親
3cd3814df7
コミット
ac6236fa75
4ファイル変更
+208
-2
検索条件に一致するファイルはありません
@@ -93,6 +93,16 @@ namespace ComputeSharp.Shaders.Mappings
|
||||
type == typeof(Vector3) ||
|
||||
type == typeof(Vector4);
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether or not the input type is a known buffer type
|
||||
/// </summary>
|
||||
/// <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 known buffer type</returns>
|
||||
[Pure]
|
||||
public static bool IsKnownBufferType(Type type) => IsConstantBufferType(type) ||
|
||||
IsReadOnlyBufferType(type) ||
|
||||
IsReadWriteBufferType(type);
|
||||
|
||||
/// <summary>
|
||||
/// Checks whether or not the input type is a <see cref="ConstantBuffer{T}"/> value
|
||||
/// </summary>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする