home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.2 Development Libraries / SGI IRIX 6.2 Development Libraries.iso / dist / gl_dev.idb / usr / gfx / arch / IP17GR2MP / gl / feed.h.z / feed.h
Encoding:
C/C++ Source or Header  |  1996-03-15  |  1.7 KB  |  44 lines

  1. #ifndef FEEDBACKDEF
  2. #define FEEDBACKDEF
  3. /* $Header: /hosts/bonnie/proj/banyan/isms/gfx/include/EXPRESS/gl/RCS/feed.h,v 1.3 1992/08/10 08:14:54 mjk Exp $ */
  4. /**************************************************************************
  5.  *                                      *
  6.  *          Copyright (C) 1990, Silicon Graphics, Inc.          *
  7.  *                                      *
  8.  *  These coded instructions, statements, and computer programs  contain  *
  9.  *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
  10.  *  are protected by Federal copyright law.  They  may  not be disclosed  *
  11.  *  to  third  parties  or copied or duplicated in any form, in whole or  *
  12.  *  in part, without the prior written consent of Silicon Graphics, Inc.  *
  13.  *                                      *
  14.  **************************************************************************/
  15. /*
  16.  * This file contains the product specific defines for feedback mode.
  17.  * The Personal Iris returns 11 different feedback tokens and 3 data
  18.  * formats. The feedback buffer contains the floating point token followed
  19.  * by floating point data.
  20.  *
  21.  * FB_POINT, FB_MOVE, FB_DRAW : returns 6 floats (x,y,z,r,g,b)
  22.  * FB_POLYGON :                    returns a count of the number of floats
  23.  *                                 and then sets of 6 floats for each vertex.  
  24.  * FB_CMOV :                     returns 3 floats (x,y,z).
  25.  * FB_PASSTHROUGH, FB_ZBUFFER, FB_LINESTYLE, FB_SETPATTERN, FB_LINEWIDTH,
  26.  * FB_LSREPEAT all return 1 float.
  27.  */
  28.  
  29. /* defines for PI raw feedback */
  30. #define FB_POINT    95.0
  31. #define FB_MOVE        103.0
  32. #define FB_DRAW        113.0
  33. #define FB_POLYGON    72.0
  34. #define FB_CMOV        163.0
  35. #define FB_PASSTHROUGH    176.0
  36. #define FB_ZBUFFER    46.0
  37. #define FB_LINESTYLE    76.0
  38. #define FB_SETPATTERN    133.0
  39. #define FB_LINEWIDTH    77.0
  40. #define FB_LSREPEAT     90.0
  41. #define    FB_NULL        0.0
  42.  
  43. #endif /* FEEDBACKDEF */
  44.