blob: 63533d8e9b5febf4e193f3ad53f07c98b674440a [file] [log] [blame]
jtgafb833d1999-08-19 00:55:39 +00001/* showbuffer. h*/
2
3/*
4 * Copy the depth buffer to the color buffer as a grayscale image.
5 * Useful for inspecting the depth buffer values.
6 *
7 * This program is in the public domain.
8 *
9 * Brian Paul November 4, 1998
10 */
11
12
13#ifndef SHOWBUFFER_H
14#define SHOWBUFFER_H
15
16
17#include <GL/gl.h>
18
19
20
21extern void
22ShowDepthBuffer( GLsizei winWidth, GLsizei winHeight,
23 GLfloat zBlack, GLfloat zWhite );
24
25
26extern void
27ShowAlphaBuffer( GLsizei winWidth, GLsizei winHeight );
28
29
30extern void
31ShowStencilBuffer( GLsizei winWidth, GLsizei winHeight,
32 GLfloat scale, GLfloat bias );
33
34
35
36#endif