diff --git a/src/modules/graphics/vertex.cpp b/src/modules/graphics/vertex.cpp index bf9218fce..52b090d49 100644 --- a/src/modules/graphics/vertex.cpp +++ b/src/modules/graphics/vertex.cpp @@ -346,6 +346,21 @@ std::vector getConstants(AttributeStep) return attributeSteps.getNames(); } +bool getConstant(const char *in, DataType &out) +{ + return dataTypes.find(in, out); +} + +bool getConstant(DataType in, const char *&out) +{ + return dataTypes.find(in, out); +} + +std::vector getConstants(DataType) +{ + return dataTypes.getNames(); +} + } // vertex } // graphics } // love