18 #ifndef INCLUDED_OVERLAYRENDERER 19 #define INCLUDED_OVERLAYRENDERER 166 #endif // INCLUDED_OVERLAYRENDERER OverlayRenderer()
Definition: OverlayRenderer.cpp:310
Line-based overlay, with world-space coordinates, rendered in the world potentially behind other obje...
Definition: Overlay.h:38
NONCOPYABLE(OverlayRenderer)
Class OverlayRenderer: Render various bits of data that overlay the game world (selection circles...
Definition: OverlayRenderer.h:37
Definition: OverlayRenderer.cpp:152
Billboard sprite overlay, with world-space coordinates, rendered on top of all other objects...
Definition: Overlay.h:147
void Submit(SOverlayLine *overlay)
Add a line overlay for rendering in this frame.
Definition: OverlayRenderer.cpp:325
void RenderOverlaysAfterWater(Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
Render all the submitted overlays that are embedded in the world (i.e.
Definition: OverlayRenderer.cpp:495
void RenderForegroundOverlays(Renderer::Backend::IDeviceCommandContext *deviceCommandContext, const CCamera &viewCamera)
Render all the submitted overlays that should appear on top of everything in the world.
Definition: OverlayRenderer.cpp:654
void RenderTexturedOverlayLines(Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
Helper method; renders all overlay lines currently registered in the internals.
Definition: OverlayRenderer.cpp:506
void EndFrame()
Reset the list of submitted overlays.
Definition: OverlayRenderer.cpp:354
void Upload(Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
Upload prepared data to backend.
Definition: OverlayRenderer.cpp:473
void RenderOverlaysBeforeWater(Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
Render all the submitted overlays that are embedded in the world (i.e.
Definition: OverlayRenderer.cpp:480
Textured line overlay, with world-space coordinates, rendered in the world onto the terrain...
Definition: Overlay.h:65
~OverlayRenderer()
Definition: OverlayRenderer.cpp:315
void Initialize()
Performs one-time initialization.
Definition: OverlayRenderer.cpp:320
void RenderQuadOverlays(Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
Helper method; batch-renders all registered quad overlays, batched by their texture for effiency...
Definition: OverlayRenderer.cpp:586
IShaderProgram is a container for multiple shaders of different types.
Definition: IShaderProgram.h:80
Rectangular single-quad terrain overlay, in world space coordinates.
Definition: Overlay.h:160
void RenderSphereOverlays(Renderer::Backend::IDeviceCommandContext *deviceCommandContext)
Helper method; batch-renders all sphere quad overlays.
Definition: OverlayRenderer.cpp:790
OverlayRendererInternals * m
Definition: OverlayRenderer.h:163
static const float OVERLAY_VOFFSET
Small vertical offset of overlays from terrain to prevent visual glitches.
Definition: OverlayRenderer.h:131
Definition: IDeviceCommandContext.h:40
void PrepareForRendering()
Prepare internal data structures for rendering.
Definition: OverlayRenderer.cpp:375
Definition: Overlay.h:168