Microsoft SDK for Java

setSceneBackgroundImage

This method of the Direct3dRMFrame Class specifies a background image for a scene.

Syntax

public void setSceneBackgroundImage(Direct3dRMTexture i);

Parameters

i A Direct3dRMTexture object that will contain the new background scene.

Remarks

If the image is a different size or color depth than the viewport, the image will first be scaled or converted to the correct depth. For best performance when animating the background, the image should be the same size and color depth. This enables the background to be rendered directly from the image memory without incurring any extra overhead.

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