Microsoft SDK for Java

loadTextureFromResource

This method of the Direct3dRM Class loads a texture from a specified resource. Because it is difficult to obtain resource handles, this method is rarely used in Java.

Syntax

public Direct3dRMTexture loadTextureFromResource(int hnd);

Return Value

Returns the Direct3dRMTexture object if successful; otherwise, null.

Parameters

hnd Handle of the resource.

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