From b89421cb3b803165455020f5b70d582b6aec6e76 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 10 Jul 2024 14:09:18 -0700 Subject: Add reflection API for functions. (#4587) * Add reflection API for functions. This change adds `SlangFunctionReflection` type in the reflection API that provides methods for querying function result type, parameters and user-defined attributes. `ProgramLayout::findFunctionByName` can now find a function with the given name and returns a `FunctionReflection`. `IEntryPoint` now has a `getFunctionReflection` method that returns an `FunctionReflection` for the entrypoint. * More modifiers; make reflection API consistent. --- docs/user-guide/toc.html | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/user-guide/toc.html') diff --git a/docs/user-guide/toc.html b/docs/user-guide/toc.html index 3443a95e8..2adb7655b 100644 --- a/docs/user-guide/toc.html +++ b/docs/user-guide/toc.html @@ -115,6 +115,7 @@
  • Arrays
  • Structures
  • Entry Points
  • +
  • Function Reflection
  • Supported Compilation Targets -- cgit v1.2.3