IrisGL Application Programming Interface


This table contains an alphabetical list of IRIS GL calls with links to online manual page entries. The IrisGL API consists of 390 odd function calls that implement immedeate and retained mode graphics.

There are a few caveats for porting general IrisGL programs to the IrisVision/DOS-Extender programming/run-time environment. Most notable is the lack of a window manager on DOS. Thus, while the win*() commands are implemented, only the first winopen() call will create a window and it will be, by default, full screen. In additions, multi-windowed event handling is not present. If you wish to do multi-windowed programming, you'll need to manage the windows yourself, tracking keyboard focus, etc. One subtle side effect of the lack of a window manager is the requirement to run the entire application in a single visual, for example RGBmode(). It is possible to use overlay and popup bitplanes in conjunction the a NORMALDRAW window.

In addition, since the IrisVision hardware lacks hardware support for certain high end IrisGL features, such as accumulation and stencil buffers, alpha blending and texture mapping; I've tried to remove those calls fromt he list below. This is not an extensive list, but in any event, care should be taken to query the getgdesc() return values for support of a given feature.

Table A-1 : IrisGL Commands
IrisGL Call
acbuf()
acsize()
addtopup()
afunction()
arc(), arcf()
backbuffer()
backface()
bbox2()
bgnclosedline()
bgncurve()
bgnline()
bgnpoint()
bgnpolygon()
bgnqstrip()
bgnsurface()
bgntmesh()
bgntrim()
blankscreen()
blanktime()
blendcolor()
blendfunction()
blink()
blkqread()
c3*(), c4*()
callfunc()
callobj()
charstr()
chunksize()
circ(), circf()
clear()
clearhitcode()
clipplane()
clkon()
clkoff()
closeobj()
cmode()
cmov(), cmov2()
color(), colorf()
compactify()
concave()
convolve()
cpack()
crv()
crvn()
curorigin()
cursoff()
curson()
curstype()
curvebasis()
curveit()
curveprecision()
cyclemap()
czclear()
dbtext()
defbasis()
defcursor()
deflinestyle()
defpattern()
defpup()
defrasterfont()
delobj()
deltag()
depthcue()
dither()
dopup()
doublebuffer()
draw()
drawmode()
editobj()
endclosedline()
endcurve()
endfeedback()
endfullscreen()
endline()
endpick()
endpoint()
endpolygon()
endpupmode()
endqstrip()
endselect()
endsurface()
endtmesh()
endtrim()
feedback()
finish()
fogvertex()
font()
foreground()
freepup()
frontbuffer()
frontface()
fudge()
fullscrn()
gammaramp()
gbegin()
gconfig()
genobj()
gentag()
getbackface()
getbuffer()
getbutton()
getcmmode()
getcolor()
getcpos()
getcursor()
getdcm()
getdepth()
getdescender()
getdev()
getdisplaymode()
getdrawmode()
getfont()
getgdesc()
getgpos()
getheight()

gethgram()

gethitcode()
getlsbackup()
getlsrepeat()
getlstyle()
getlwidth()
getmap(void)
getmatrix()
getmcolor()
getminmax()
getmmode()
getmonitor()
getnurbsproperty()
getopenobj()
getorigin()
getpattern()
getplanes()
getport()
getresetls()
getscrbox()
getscrmask()
getshade()
getsize()
getsm()
getvaluator()
getvideo()
getviewport()
getwritemask()
getwscrn()
getzbuffer()
gexit()
gflush()
ginit()
glcompat()
greset()
gRGBcolor()
gRGBcursor()
gRGBmask()
gselect()
gsync()
gversion()
hgram()
iconsize()
icontitle()
imakebackground()
initnames()
ismex()
isobj()
isqueued()
istag()
istexloaded()
keepaspect()
lampoff()
lampon()
linesmooth()
linewidth(), inewidthf*()
lmbind()
lmcolor()
lmdef()
loadmatrix()
loadname()
logicop()
lookat()
lrectread()
lrectwrite()
lRGBrange()
lsbackup()
lsetdepth()
lshaderange()
lsrepeat()
makeobj()
maketag()
mapcolor()
mapw()
maxsize()
minmax()
minsize()
mmode()
monobuffer()
move()
msalpha()
msmask()
mspattern()
mssize()
mswapbuffers()
multimap()
multisample()
multmatrix()
n3f()
newpup()
newtag()
nmode()
noborder()
noise()
noport()
normal()
nurbscurve()
nurbssurface()
objdelete()
objinsert()
objreplace()
onemap()
ortho()
ortho2()
overlay()
pagecolor()
passthrough()
patch()
patchbasis()
patchcurves()
patchprecision()
pclos()
pdr()
perspective()
pick()
picksize()
pixelmap()
pixeltransfer()
pixmode()
pmv()
pnt*()
pntsize(), pntsizef()
pntsmooth()
polarview()
polf()
poly()
polymode()
polysmooth()
popattributes()
popmatrix()
popname()
popviewport()
prefposition()
prefsize()
pupmode()
pushattributes()
pushmatrix()
pushname()
pushviewport()
pwlcurve()
qcontrol()
qdevice()
qenter()
qgetfd()
qread()
qreset()
qtest()
rcrv(), rcrvn()
rdr()
readcomponent()
readdisplay()
readpixels()
readRGB()
readsource()
rect(), rectf()
rectcopy()
rectread()
rectwrite()
rectzoom()
resetls()
reshapeviewport()
RGBcolor()
RGBcursor()
RGBmode()
RGBrange()
RGBsize()
RGBwritemask()
ringbell()
rmv()
rot()
rotate()
rpatch()
rpdr()
rpmv()
sbox(), sboxf()
scale()
sclear()
scrbox()
screenspace()
scrmask()
scrnattach()
scrnselect()
scrsubdivide()
select()
setbell()
setcursor()
setdblights()
setdepth()
setlinestyle()
setmap()
setmonitor()
setnurbsproperty()
setpattern()
setpup()
setvaluator()
setvideo()
shademodel()
shaderange()
singlebuffer()
smoothline()
spclos()
splf()
stepunit()
stereobuffer()
strwidth()
subpixel()
subtexload()
swapbuffers()
swapinterval()
swaptmesh()
swinopen()
swritemask()
textcolor()
textinit()
textport()
tie()
tlutdef()
tpoff()
tpon()
translate()
underlay()
unqdevice()
v2*(), v3*(), v4*()
videocmd()
viewport()
winattach()
winclose()
winconstraints()
windepth()
window()
winget()
winmove()
winopen()
winpop()
winposition()
winpush()
winset()
wintitle()
wmpack()
writemask()
writepixels()
writeRGB()
xfpt*()
zbsize()
zbuffer()
zclear()
zdraw()
zfunction()
zsource()
zwritemask()