Microsoft SDK for Java

createTextureFromSurface

This method of the Direct3dRM Class creates a texture from a specified DirectDraw surface.

Syntax

public Direct3dRMTexture createTextureFromSurface(DirectDrawSurface ddS);

Return Value

Returns the Direct3dRMTexture object if successful; otherwise, null.

Parameters

ddS The DirectDrawSurface object containing the texture.

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