Glide 3.0 Reference Manual Programming the 3Dfx Interactive Glide™ Rasterization Library 3.0
Total Page:16
File Type:pdf, Size:1020Kb
Glide 3.0 Reference Manual Programming the 3Dfx Interactive Glide™ Rasterization Library 3.0 Document Release 020 July 23, 1998 Copyright ã 1995-1998 3Dfx Interactive, Inc. All Rights Reserved 3Dfx Interactive, Inc. 4435 Fortran Drive San Jose, CA 95134 Printed at 10:56 AM on Monday, May 18, 1998 Table of Contents Table of Contents .............................................................................................................................i INTRODUCTION..............................................................................................................................III Base Types .....................................................................................................................................iii Predefined Constants.....................................................................................................................iv API Reference ..................................................................................................................................v grAADrawTriangle ...........................................................................................................................1 grAlphaBlendFunction ....................................................................................................................3 grAlphaCombine..............................................................................................................................5 grAlphaControlsITRGBLighting......................................................................................................9 grAlphaTestFunction..................................................................................................................... 11 grAlphaTestReferenceValue..........................................................................................................13 grBufferClear .................................................................................................................................15 grBufferSwap.................................................................................................................................17 grChromakeyMode ........................................................................................................................19 grChromakeyValue ........................................................................................................................21 grChromaRangeExt.......................................................................................................................23 grChromaRangeModeExt..............................................................................................................25 grClipWindow ................................................................................................................................27 grColorCombine ............................................................................................................................29 grColorMask ..................................................................................................................................31 grConstantColorValue...................................................................................................................33 grCoordinateSpace .......................................................................................................................35 grCullMode ....................................................................................................................................37 grDepthBiasLevel..........................................................................................................................39 grDepthBufferFunction .................................................................................................................41 grDepthBufferMode.......................................................................................................................43 grDepthMask..................................................................................................................................45 grDepthRange................................................................................................................................47 grDisable........................................................................................................................................49 grDisableAllEffects........................................................................................................................51 grDitherMode.................................................................................................................................53 grDrawLine ....................................................................................................................................55 grDrawPoint...................................................................................................................................57 grDrawTriangle ..............................................................................................................................59 grDrawVertexArray ........................................................................................................................61 grDrawVertexArrayContiguous.....................................................................................................63 grEnable.........................................................................................................................................65 grErrorSetCallback........................................................................................................................67 grFinish..........................................................................................................................................69 grFlush...........................................................................................................................................71 grFogColorValue............................................................................................................................73 grFogMode.....................................................................................................................................75 grFogTable.....................................................................................................................................77 grGet ..............................................................................................................................................79 grGetProcAddress.........................................................................................................................83 grGetString ....................................................................................................................................85 grGlideGetState .............................................................................................................................87 grGlideGetVertexLayout................................................................................................................89 Copyright ã 1995-1998 3Dfx Interactive, Inc. i Proprietary and Confidential Printed on 08/05/98 Introduction Glide 3.0 Reference Manual grGlideInit ......................................................................................................................................91 grGlideSetState..............................................................................................................................93 grGlideSetVertexLayout ................................................................................................................95 grGlideShutdown...........................................................................................................................97 grLfbConstantAlpha ......................................................................................................................99 grLfbConstantDepth....................................................................................................................101 grLfbLock.....................................................................................................................................103 grLfbReadRegion.........................................................................................................................107 grLfbUnlock .................................................................................................................................109 grLfbWriteRegion ........................................................................................................................ 111 grLoadGammaTable ....................................................................................................................113 grQueryResolutions ....................................................................................................................115 grRenderBuffer ............................................................................................................................117 grReset.........................................................................................................................................119 grSelectContext ...........................................................................................................................121 grSstSelect...................................................................................................................................125 grSstWinClose .............................................................................................................................127