Renderer for sets of Lines stored in a grid, as managed by class LineSet (gridtypes library).
More...
#include <LineSetRenderer.hpp>
List of all members.
Public Types
- enum DrawMode { AsLineStrip = 0x1,
AsPoints = 0x2,
AsLinesAndPoints = AsPoints | AsLineStrip
}
Public Member Functions
-
LineSetRenderer (const WeakPtr< Fiber::Grid > &RenderableGrid, DrawMode theDrawMode=AsLineStrip, const RefPtr< Fiber::FragmentID > &f=NullPtr())
- Construct from a Grid object.
-
LineSetRenderer (const WeakPtr< Fiber::Grid > &RenderableGrid, Wizt::GeometryShader::InputType)
- Construct from a Grid object, being compatible with a GeometryShader.
-
bool drawElements (DrawMode Mode=AsLineStrip)
-
override bool draw ()
Public Attributes
Detailed Description
Renderer for sets of Lines stored in a grid, as managed by class LineSet (gridtypes library).
- Examples:
-
ColoredLines.cpp, and GlossyLines.cpp.