Add new verifier to handle identifiers and update codegen to be able to use them (closes #2522)

This commit is contained in:
Alexander Bock
2023-03-11 13:18:12 +01:00
parent 21cb90b7f8
commit 23ee2ee5da
15 changed files with 132 additions and 21 deletions
@@ -112,10 +112,10 @@ namespace {
struct [[codegen::Dictionary(RenderableNodeLine)]] Parameters {
// [[codegen::verbatim(StartNodeInfo.description)]]
std::optional<std::string> startNode;
std::optional<std::string> startNode [[codegen::identifier()]];
// [[codegen::verbatim(EndNodeInfo.description)]]
std::optional<std::string> endNode;
std::optional<std::string> endNode [[codegen::identifier()]];
// [[codegen::verbatim(LineColorInfo.description)]]
std::optional<glm::vec3> color [[codegen::color()]];