com.badlogic.gdx.graphics.glutils.VertexArrayEmu Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backend-teavm Show documentation
Show all versions of backend-teavm Show documentation
Tool to generate libgdx to javascript using teaVM
package com.badlogic.gdx.graphics.glutils;
import com.badlogic.gdx.graphics.VertexAttribute;
import com.badlogic.gdx.graphics.VertexAttributes;
import com.github.xpenatan.gdx.backends.teavm.gen.Emulate;
@Emulate(VertexArray.class)
public class VertexArrayEmu extends VertexBufferObject {
public VertexArrayEmu(int numVertices, VertexAttribute... attributes) {
this(numVertices, new VertexAttributes(attributes));
}
public VertexArrayEmu(int numVertices, VertexAttributes attributes) {
super(false, numVertices, attributes);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy