blob: ea3021bd65e2120d64abed589a3cd11368095cbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef SLANG_REFLECTION_H
#define SLANG_REFLECTION_H
#include "../core/slang-basic.h"
#include "slang-syntax.h"
#include "../../slang.h"
namespace Slang {
class ProgramLayout;
class TypeLayout;
//
SlangTypeKind getReflectionTypeKind(Type* type);
SlangTypeKind getReflectionParameterCategory(TypeLayout* typeLayout);
UInt getReflectionFieldCount(Type* type);
UInt getReflectionFieldByIndex(Type* type, UInt index);
UInt getReflectionFieldByIndex(TypeLayout* typeLayout, UInt index);
}
#endif // SLANG_REFLECTION_H
|