C# 클래스 IShaderGenerator.LoadDispatchData, ComputeSharp

파일 보기 프로젝트 열기: Sergio0694/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