summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-01-21 12:13:23 -0800
committerGitHub <noreply@github.com>2022-01-21 12:13:23 -0800
commit7cff340b10b27f82781335093759bbdc19cd2865 (patch)
tree15a983c4fdfb68b700ab532d5d2a684e8727e6b4 /slang.h
parentf85bc7ae98486b37518958e659f659f1ff9b125c (diff)
Add entry-point name override feature. (#2089)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index d47617edf..86a752f01 100644
--- a/slang.h
+++ b/slang.h
@@ -4273,6 +4273,8 @@ namespace slang
struct IEntryPoint : public IComponentType
{
+ virtual SLANG_NO_THROW SlangResult SLANG_MCALL getRenamedEntryPoint(const char* newName, IEntryPoint** outEntryPoint) = 0;
+
SLANG_COM_INTERFACE(0x8f241361, 0xf5bd, 0x4ca0, { 0xa3, 0xac, 0x2, 0xf7, 0xfa, 0x24, 0x2, 0xb8 })
};