Microsoft SDK for Java

DirectX Samples

The com.ms.directX package provides the classes and interfaces needed by Java programs and applets to access the services and features of the Microsoft® DirectX® Component Object Model (COM) interface for Microsoft® Windows®. See com.ms.directX for detailed reference information on the DirectX package. For additional information on how to use DirectX classes, see the DirectX Software Development Kit and the MSDN™ Library.

To use these samples, you must have the DirectX runtime installed.

The following DirectX samples are provided.

Sample Description
Castle Location: \Samples\DirectX\D3drmcastle

Technologies: DirectX

Demonstrates:

  • Using Microsoft Direct3D Retained Mode features, with an emphasis on the settings required for high-performance rendering.
Direct Draw Location: \Samples\DirectX\Ddraw

Technologies: DirectX

Demonstrates:

  • The high performance of Microsoft® DirectDraw® when working with Java.
Direct Input Location: \Samples\DirectX\Dinput

Technologies: DirectX

Demonstrates:

  • Using joysticks with the Microsoft DirectDraw sample.
Direct Play Location: \Samples\DirectX\Dplay

Technologies: DirectX

Demonstrates:

  • Using the Microsoft DirectX for JavaDirectPlay object to implement a simple chat applet.
Direct Sound Location: \Samples\DirectX\Dsound

Technologies: DirectX

Demonstrates:

  • Using Microsoft® DirectSound®.
Flip Cube Location: \Samples\DirectX\D3d

Technologies: DirectX

Demonstrates:

  • Using three-dimensional immediate mode, including creating and using execute buffers.
Viewer Location: \Samples\DirectX\D3drmviewer

Technologies: DirectX

Demonstrates:

  • Using Microsoft Direct3D Retained Mode features, including different lighting and rendering styles, different models, and fog.

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