class DebugRects
Defined at line 19 of file ../../src/ui/lib/escher/debug/debug_rects.h
This is a rectangle renderer that blits to the output image for
maximal performance.
Public Members
static const ColorRgba[8] colorData
Public Methods
std::unique_ptr<DebugRects> New (BatchGpuUploader * uploader, ImageFactory * factory)
Defined at line 17 of file ../../src/ui/lib/escher/debug/debug_rects.cc
void Blit (CommandBuffer * cb, Color color, const ImagePtr & target, vk::Rect2D rect)
Blit a rectangle of the chosen |color|.
Defined at line 26 of file ../../src/ui/lib/escher/debug/debug_rects.cc
Enumerations
enum Color
| Name | Value |
|---|---|
| kBlack | 0 |
| kWhite | 1 |
| kRed | 2 |
| kGreen | 3 |
| kBlue | 4 |
| kYellow | 5 |
| kPurple | 6 |
| kBrown | 7 |
| kMax | 8 |
Defined at line 23 of file ../../src/ui/lib/escher/debug/debug_rects.h