Microsoft SDK for Java

swapTextureHandles

This method of the Direct3dDevice Class swaps two texture handles.

Syntax

public void swapTextureHandles(Direct3dTexture tex1, Direct3dTexture tex2);

Parameters

tex1 The texture to be swapped.
tex2 The texture to be swapped.

Remarks

This method is useful when an application is changing all the textures in a complicated object.

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