Generate GraphicsResourcesLoader type to load resources

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-20 22:07:17 +01:00
1 親 16e49f523a
コミット 9815b8532c
9ファイル変更
+116 -19

検索条件に一致するファイルはありません

+2 -1
ファイルの表示
@@ -4,5 +4,6 @@ namespace ComputeSharp.SourceGenerators.Models;
/// A model describing a captured resource (either a buffer or a texture).
/// </summary>
/// <param name="FieldName">The name of the resource field.</param>
/// <param name="UnspeakableName">The unspeakable name of the field, if present.</param>
/// <param name="TypeName">The full metadata name for the resource type.</param>
public sealed record ResourceInfo(string FieldName, string TypeName);
public sealed record ResourceInfo(string FieldName, string? UnspeakableName, string TypeName);