Flip Cube Sample

This sample is located in \Samples\DirectX\d3d.

Description
Using the Sample
Key Project Files
Technologies Demonstrated

Description

This sample shows the basic use of three-dimensional immediate mode, including creating and using execute buffers.

You must have Microsoft® Windows NT® 4.0 Service Pack 3 (SP3) or later installed to run this sample. See the Microsoft® DirectX® release notes for installation details.

Using the Sample

The sample displays a rotating, three-dimensional cube.

Key Project Files

FlipCube.java

This class implements a Java applet that sets up the canvas and frame.

FlipCubeCanvas.java

This class creates and draws the cube.

FlipCubeFrame.java

This class creates a simple frame that hosts the Flip Cube canvas.

Technologies Demonstrated

DirectX

© 1999 Microsoft Corporation. All rights reserved. Terms of use.