summaryrefslogtreecommitdiffstats
path: root/include/slang.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/slang.h')
-rw-r--r--include/slang.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/slang.h b/include/slang.h
index aab6fc47c..0507d8099 100644
--- a/include/slang.h
+++ b/include/slang.h
@@ -2921,6 +2921,11 @@ struct VariableLayoutReflection
(SlangParameterCategory)category);
}
+ SlangImageFormat getImageFormat()
+ {
+ return spReflectionVariableLayout_GetImageFormat((SlangReflectionVariableLayout*)this);
+ }
+
char const* getSemanticName()
{
return spReflectionVariableLayout_GetSemanticName((SlangReflectionVariableLayout*)this);