put renderer list with the renderers

This commit is contained in:
Ben Fry
2015-05-13 18:34:32 -04:00
parent 6913cf784a
commit b2ece61034
2 changed files with 35 additions and 15 deletions
+11
View File
@@ -27,6 +27,8 @@ package processing.core;
import java.awt.Cursor;
import java.awt.event.KeyEvent;
import processing.data.StringList;
/**
* Numbers shared throughout processing.core.
@@ -46,6 +48,15 @@ public interface PConstants {
// renderers known to processing.core
// List of renderers used inside PdePreprocessor
static final StringList rendererList = new StringList(new String[] {
"JAVA2D", "JAVA2D_2X",
"P2D", "P2D_2X", "P3D", "P3D_2X", "OPENGL",
"E2D", "FX2D", "FX2D_2X", // experimental
"LWJGL.P2D", "LWJGL.P3D", // hmm
"PDF" // no DXF because that's only for beginRaw()
});
static final String JAVA2D = "processing.core.PGraphicsJava2D";
static final String JAVA2D_2X = "processing.core.PGraphicsJava2D2X";