summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-04-23 11:41:33 -0700
committerGitHub <noreply@github.com>2021-04-23 11:41:33 -0700
commitd1b0d5acb22cf8b6258b40c8690cd0c7e3989d3e (patch)
treecc4e9a6ed28c522c5a3f39bbea4c7110936ec593 /slang.h
parentff1d19079fb789a4d64ee16b3212491fdff9bf9a (diff)
Add `ISession::getParameterBlockLayout()` (#1805)
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index df0a783be..673d93d1e 100644
--- a/slang.h
+++ b/slang.h
@@ -3933,6 +3933,12 @@ namespace slang
LayoutRules rules = LayoutRules::Default,
ISlangBlob** outDiagnostics = nullptr) = 0;
+ virtual SLANG_NO_THROW TypeLayoutReflection* SLANG_MCALL getParameterBlockLayout(
+ TypeReflection* elementType,
+ SlangInt targetIndex = 0,
+ LayoutRules rules = LayoutRules::Default,
+ ISlangBlob** outDiagnostics = nullptr) = 0;
+
/** Get the mangled name for a type RTTI object.
*/
virtual SLANG_NO_THROW SlangResult SLANG_MCALL getTypeRTTIMangledName(