我想通过使用现代OpenGL(使用VBO和着色器渲染)在LWJGL中渲染文本,但我不知道如何做到这一点.
我在java中有一本字典:
protected Dictionary<String, Object> objects;
Run Code Online (Sandbox Code Playgroud)
现在我想获取字典的键,以便我可以在for循环中使用get()获取键的值:
for (final String key : this.objects) {
final Object value = this.objects.get(key);
Run Code Online (Sandbox Code Playgroud)
但这不起作用.:( 任何的想法?
托马斯
PS:我需要变量中的键和值.