XLE  v0.02.0
Public Member Functions | Protected Attributes | List of all members
ToolsRig::BinaryHighlight Class Reference

Utility class for rendering a highlight around some geometry More...

#include <HighlightEffects.h>

Public Member Functions

void FinishWithOutline (RenderCore::Metal::DeviceContext &metalContext, Float3 outlineColor)
 
void FinishWithOutlineAndOverlay (RenderCore::Metal::DeviceContext &metalContext, Float3 outlineColor, unsigned overlayColor)
 
 BinaryHighlight (RenderCore::Metal::DeviceContext &metalContext)
 

Protected Attributes

std::unique_ptr< Pimpl > _pimpl
 

Detailed Description

Utility class for rendering a highlight around some geometry

Using BinaryHighlight, we can draw some geometry to an offscreen buffer, and then blend a outline or highlight over other geometry. Generally, it's used like this:


The documentation for this class was generated from the following files: