#include "countsrf.h"#include <glt/rgb.h>#include <glt/zplane.h>#include <glt/error.h>#include <node/shape.h>Include dependency graph for countsrf.cpp:

Go to the source code of this file.
Functions | |
| void | countSurfaces (const GltShape &shape) |
| Use the stencil buffer to count the number of surfaces drawn at each pixel. | |
| GLubyte | countSurfaces (const GltShape &shape, const countSurfacesMode mode) |
| Use the stencil buffer to count the number of surfaces drawn at each pixel. | |
| GLubyte | countSurfacesVisualise (const GltShape &shape) |
| Visualise the number of rendered surfaces at each pixel. | |
| GLuint | stencilHistogram (GLuint histogram[256]) |
| Extract a stencil buffer histogram for the current viewport. | |
Variables | |
| const GLuint | maxColors = 8 |
| Number of colors used for stencil buffer color coding. | |
| const GltColor | surfaceColor [maxColors] |
| Colors used for stencil buffer color coding. | |
Definition in file countsrf.cpp.
|
|
Initial value:
{
red,
green,
blue,
yellow,
cyan,
magenta,
black,
white
}
Definition at line 126 of file countsrf.cpp. |
1.2.18