Files
qt-creator/src/libs/glsl/glslengine.h

30 lines
465 B
C
Raw Normal View History

#ifndef GLSLENGINE_H
#define GLSLENGINE_H
#include "glsl.h"
2010-11-11 15:05:42 +01:00
#include "glslmemorypool.h"
#include <set>
#include <string>
namespace GLSL {
class GLSL_EXPORT Engine
{
public:
Engine();
~Engine();
const std::string *identifier(const std::string &s);
const std::string *identifier(const char *s, int n);
2010-11-11 15:05:42 +01:00
MemoryPool *pool();
private:
std::set<std::string> _identifiers;
2010-11-11 15:05:42 +01:00
MemoryPool _pool;
};
} // namespace GLSL
#endif // GLSLENGINE_H