public class DwPixelFlow extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DwPixelFlow.PixelFlowInfo |
Modifier and Type | Field and Description |
---|---|
boolean |
ACTIVE_FRAMEBUFFER |
DwGLFrameBuffer |
framebuffer |
GL2ES2 |
gl |
static DwPixelFlow.PixelFlowInfo |
INFO |
processing.core.PApplet |
papplet |
processing.opengl.PJOGL |
pjogl |
static String |
SHADER_DIR |
DwUtils |
utils |
Constructor and Description |
---|
DwPixelFlow(processing.core.PApplet papplet) |
Modifier and Type | Method and Description |
---|---|
GL2ES2 |
begin() |
void |
beginDraw(DwGLTexture... dst) |
void |
beginDraw(processing.opengl.PGraphicsOpenGL dst) |
void |
beginDraw(processing.opengl.PGraphicsOpenGL dst,
boolean multisample) |
DwGLSLProgram |
createShader(Object o,
String path_fragmentshader) |
DwGLSLProgram |
createShader(Object o,
String path_vertexshader,
String path_fragmentshader) |
DwGLSLProgram |
createShader(String path_fragmentshader) |
DwGLSLProgram |
createShader(String path_vertexshader,
String path_fragmentshader) |
void |
defaultRenderSettings(int x,
int y,
int w,
int h) |
void |
dispose() |
void |
end() |
void |
end(String error_msg) |
void |
endDraw() |
void |
endDraw(String error_msg) |
void |
errorCheck(String msg) |
void |
getGLTextureHandle(processing.opengl.PGraphicsOpenGL pg,
int[] tex_handle) |
void |
popRenderSettings() |
void |
print() |
void |
printGL() |
void |
pushRenderSettings(DwGLRenderSettingsCallback rendersettings) |
void |
release() |
public static final DwPixelFlow.PixelFlowInfo INFO
public static final String SHADER_DIR
public processing.core.PApplet papplet
public processing.opengl.PJOGL pjogl
public GL2ES2 gl
public final DwUtils utils
public DwGLFrameBuffer framebuffer
public boolean ACTIVE_FRAMEBUFFER
public void dispose()
public void release()
public GL2ES2 begin()
public void end()
public void end(String error_msg)
public void beginDraw(DwGLTexture... dst)
public void beginDraw(processing.opengl.PGraphicsOpenGL dst)
public void beginDraw(processing.opengl.PGraphicsOpenGL dst, boolean multisample)
public void endDraw()
public void endDraw(String error_msg)
public void defaultRenderSettings(int x, int y, int w, int h)
public void pushRenderSettings(DwGLRenderSettingsCallback rendersettings)
public void popRenderSettings()
public DwGLSLProgram createShader(String path_fragmentshader)
public DwGLSLProgram createShader(Object o, String path_fragmentshader)
public DwGLSLProgram createShader(String path_vertexshader, String path_fragmentshader)
public DwGLSLProgram createShader(Object o, String path_vertexshader, String path_fragmentshader)
public void getGLTextureHandle(processing.opengl.PGraphicsOpenGL pg, int[] tex_handle)
public void errorCheck(String msg)
public void printGL()
public void print()
Processing library PixelFlow by Thomas Diewald. (c) 2017