Click to open or copy the files for the D3dex1 sample.
This sample displays a spinning triangle in a window. It uses Direct3D Immediate mode and execute buffers.
This application shows how to determine what Direct3D device to use.
This sample uses the following keywords:
addattachedsurface; addlight; addviewport; animatescene; assert; beginpaint; beginscene; bitdepthtoflags; blt; choosedevice; clear; clienttoscreen; codefromhresult; copymemory; cos; createdevice; createdirect3d; createexecutebuffer; createlight; creatematerial; creatematrix; createpalette; createprimary; createscene; createsurface; createviewport; createwindow; d3dval; defwindowproc; deletematrix; destroywindow; directdrawcreate; directdrawcreateclipper; dispatchmessage; doframe; endpaint; endscene; enumdevicecallback; enumdevices; execute; failed; fatalerror; fillexecutebuffer; flagstobitdepth; getclientrect; getdc; gethandle; getstockobject; getsurfacedesc; getsystempaletteentries; gettextextentpoint32; invalidaterect; loadcursor; loadicon; loadstring; lock; makeintresource; messagebox; offsetrect; onidle; onmove; onpaint; onsize; paintsuspended; peekmessage; postquitmessage; queryinterface; rectangle; registerclass; release; releasedc; releasedevice; releasedirect3d; releaseprimary; releasescene; renderscene; reporterror; restore; restoredevice; restoreprimary; restoresurfaces; rgb; rgba_make; selectobject; setbackground; setbkmode; setclipper; setcooperativelevel; setexecutedata; sethwnd; setlight; setmaterial; setmatrix; setpalette; setperspectiveprojection; setrotationabouty; settextcolor; setviewport; setwindowtext; showwindow; sin; strcpy; succeeded; textout; translatemessage; unlock; updateviewport; updatewindow; use_param; warning; winmain; wndproc; wsprintf; zeromemory