public class DwFluidStreamLines2D extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DwFluidStreamLines2D.Param |
Modifier and Type | Field and Description |
---|---|
DwPixelFlow |
context |
int |
lines_x |
int |
lines_y |
DwFluidStreamLines2D.Param |
param |
DwGLSLProgram |
shader_streamlineInit |
DwGLSLProgram |
shader_streamlineRender |
DwGLSLProgram |
shader_streamlineUpdate |
DwGLTexture.TexturePingPong |
tex_vertices |
Constructor and Description |
---|
DwFluidStreamLines2D(DwPixelFlow context) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
init() |
void |
release() |
void |
render(processing.opengl.PGraphics2D dst,
DwFluid2D fluid,
int spacing) |
void |
resize(int num_lines_x_,
int num_lines_y_) |
void |
update(DwFluid2D fluid) |
public DwFluidStreamLines2D.Param param
public DwGLSLProgram shader_streamlineInit
public DwGLSLProgram shader_streamlineUpdate
public DwGLSLProgram shader_streamlineRender
public DwGLTexture.TexturePingPong tex_vertices
public DwPixelFlow context
public int lines_x
public int lines_y
public DwFluidStreamLines2D(DwPixelFlow context)
Processing library PixelFlow by Thomas Diewald. (c) 2017