Utility class for rendering a highlight around some geometry
More...
#include <HighlightEffects.h>
|
void | FinishWithOutline (RenderCore::Metal::DeviceContext &metalContext, Float3 outlineColor) |
|
void | FinishWithOutlineAndOverlay (RenderCore::Metal::DeviceContext &metalContext, Float3 outlineColor, unsigned overlayColor) |
|
| BinaryHighlight (RenderCore::Metal::DeviceContext &metalContext) |
|
|
std::unique_ptr< Pimpl > | _pimpl |
|
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:
-
BinaryHighlight::BinaryHighlight() (constructor)
-
Draw something... (BinaryHighlight constructor binds an offscreen buffer, so this render is just to provide the siholette of the thing we want to highlight
-
BinaryHighlight::FinishWithOutline() This rebinds the old render target, and blends in the highlight
The documentation for this class was generated from the following files: