C# Класс IShaderGenerator.LoadDispatchData, ComputeSharp

Показать файл Открыть проект

Открытые методы

Метод Описание
GetInfo ( ITypeSymbol structDeclarationSymbol, Type, shaderInterfaceType, int &resourceCount, int &root32BitConstantCount, ImmutableArray, &diagnostics ) : ImmutableArray

Explores a given type hierarchy and generates statements to load fields.

Приватные методы

Метод Описание
GetCapturedFieldInfos ( ITypeSymbol currentTypeSymbol, ImmutableArray, fieldPath, StrongBox, resourceOffset, StrongBox, rawDataOffset ) : IEnumerable

Описание методов

GetInfo() публичный статический Метод

Explores a given type hierarchy and generates statements to load fields.
public static GetInfo ( ITypeSymbol structDeclarationSymbol, Type, shaderInterfaceType, int &resourceCount, int &root32BitConstantCount, ImmutableArray, &diagnostics ) : ImmutableArray
structDeclarationSymbol ITypeSymbol The current shader type being explored.
shaderInterfaceType Type, The type of shader interface urrently being processed.
resourceCount int The total number of captured resources in the shader.
root32BitConstantCount int The total number of needed 32 bit constants in the shader root signature.
diagnostics ImmutableArray, The resulting diagnostics from the processing operation.
Результат ImmutableArray