Project

General

Profile

« Previous | Next » 

Revision 26df012c

Added by Leszek Koltunski over 7 years ago

Rename Grid to Mesh

View differences:

src/main/java/org/distorted/library/DistortedFramebuffer.java
266 266
 * Must be called from a thread holding OpenGL Context.
267 267
 *
268 268
 * @param tex input Texture to use.
269
 * @param grid Class descendant from GridObject
269
 * @param grid Class descendant from MeshObject
270 270
 * @param effects The DistortedEffects to use when rendering
271 271
 * @param time Current time, in milliseconds.
272 272
 */
273
  public void renderTo(DistortedTexture tex, GridObject grid, DistortedEffects effects, long time)
273
  public void renderTo(DistortedTexture tex, MeshObject grid, DistortedEffects effects, long time)
274 274
    {
275 275
    tex.createTexture();
276 276
    tex.setAsInput();
......
290 290
 * @param fbo The Framebuffer (previously created with the first constructor, drawing FROM the screen
291 291
 *            is unsupported!) whose COLOR attachment 0 will be used as input texture.
292 292
 *            Please note that rendering from an FBO to itself is unsupported by OpenGL!
293
 * @param grid Class descendant from GridObject
293
 * @param grid Class descendant from MeshObject
294 294
 * @param effects The DistortedEffects to use when rendering
295 295
 * @param time Current time, in milliseconds.
296 296
 */
297
  public void renderTo(DistortedFramebuffer fbo, GridObject grid, DistortedEffects effects, long time)
297
  public void renderTo(DistortedFramebuffer fbo, MeshObject grid, DistortedEffects effects, long time)
298 298
    {
299 299
    fbo.createFBO();
300 300

  

Also available in: Unified diff