Clone of mesa.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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