Clone of mesa.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

showbuffer.h 609B

123456789101112131415161718192021222324252627282930313233343536
  1. /* showbuffer. h*/
  2. /*
  3. * Copy the depth buffer to the color buffer as a grayscale image.
  4. * Useful for inspecting the depth buffer values.
  5. *
  6. * This program is in the public domain.
  7. *
  8. * Brian Paul November 4, 1998
  9. */
  10. #ifndef SHOWBUFFER_H
  11. #define SHOWBUFFER_H
  12. #include <GL/gl.h>
  13. extern void
  14. ShowDepthBuffer( GLsizei winWidth, GLsizei winHeight,
  15. GLfloat zBlack, GLfloat zWhite );
  16. extern void
  17. ShowAlphaBuffer( GLsizei winWidth, GLsizei winHeight );
  18. extern void
  19. ShowStencilBuffer( GLsizei winWidth, GLsizei winHeight,
  20. GLfloat scale, GLfloat bias );
  21. #endif