Package com.luciad.view.lightspeed.util.opengl.rendertarget
package com.luciad.view.lightspeed.util.opengl.rendertarget
Describes the concept of a "render target", which is the destination framebuffer of OpenGL rendering
operation. Each
ILspView
has a stack
of render targets, the bottom of which corresponds to the view's main
framebuffer. Each render target is represented by an ILspRenderTarget
.
If a painter wants, for instance, to render into a texture rather than into the
main framebuffer, it can do so by pushing a TLspTextureRenderTarget
onto the view's render target stack. When the painter is done rendering into
the texture, it pops the render target so that further rendering is again done
into the main framebuffer.- Since:
- 2012.0
-
ClassDescriptionAn abstraction of a framebuffer into which rendering output can be directed.A render target that draws into an OpenGL frame buffer object (FBO) which can subsequently be used as a texture.