Renders 2D vector field (e.g. motion vectors). More...
#include <VectorFieldRenderer.hpp>
Classes | |
struct | CreateInfo |
Vector field renderer creation info. More... | |
struct | PSOKey |
Pipeline state object key. More... | |
struct | RenderAttribs |
Vector field rendering attributes. More... | |
Public Member Functions | |
VectorFieldRenderer (const CreateInfo &CI) | |
Constructs the vector field renderer object. | |
void | Render (const RenderAttribs &Attribs) |
Renders the vector field. | |
IPipelineState * | GetPSO (const PSOKey &Key) |
Returns the pipeline state object for the specified key. | |
Renders 2D vector field (e.g. motion vectors).
The renderer draws a grid of lines, where direction and length of each line is determined by the vector field texture.