18 #ifndef INCLUDED_OVERLAYRENDERER
19 #define INCLUDED_OVERLAYRENDERER
139 #endif // INCLUDED_OVERLAYRENDERER
Line-based overlay, with world-space coordinates, rendered in the world potentially behind other obje...
NONCOPYABLE(OverlayRenderer)
Class OverlayRenderer: Render various bits of data that overlay the game world (selection circles...
void RenderQuadOverlays()
Helper method; batch-renders all registered quad overlays, batched by their texture for effiency...
Billboard sprite overlay, with world-space coordinates, rendered on top of all other objects...
void Submit(SOverlayLine *overlay)
Add a line overlay for rendering in this frame.
void EndFrame()
Reset the list of submitted overlays.
Textured line overlay, with world-space coordinates, rendered in the world onto the terrain...
void Initialize()
Performs one-time initialization.
void RenderForegroundOverlays(const CCamera &viewCamera)
Render all the submitted overlays that should appear on top of everything in the world.
Rectangular single-quad terrain overlay, in world space coordinates.
void RenderOverlaysAfterWater()
Render all the submitted overlays that are embedded in the world (i.e.
OverlayRendererInternals * m
static const float OVERLAY_VOFFSET
Small vertical offset of overlays from terrain to prevent visual glitches.
void RenderOverlaysBeforeWater()
Render all the submitted overlays that are embedded in the world (i.e.
shared_ptr< CShaderProgram > CShaderProgramPtr
void PrepareForRendering()
Prepare internal data structures for rendering.
void RenderTexturedOverlayLines()
Helper method; renders all overlay lines currently registered in the internals.