|
|
|||||||||||||
Class Direct3dMaterialpublic class Direct3dMaterial implements IDirect3dMaterial { // Methods public int getHandle(Direct3dDevice dev); public void getMaterial(D3dMaterialDesc mat); public void reserve(); public void setMaterial(D3dMaterialDesc mat); public void unreserve(); } Applications use the methods of the Direct3dMaterial class to retrieve and set the properties of materials. Note This class does not provide an initialize method. Use the Direct3d.createMaterial() method to create and initialize Direct3dMaterial objects. MethodsgetHandlepublic int getHandle(Direct3dDevice dev); getMaterialpublic void getMaterial(D3dMaterialDesc mat); reservepublic void reserve(); setMaterialpublic void setMaterial(D3dMaterialDesc mat); unreservepublic void unreserve();
|
© 1998 Microsoft Corporation. All rights reserved. Terms of use. |