1/* 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_wrap.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 37