Applications use the methods of the Direct3dMaterial Class of the com.ms.directX package to retrieve and set the properties of materials.
public 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(); }
Note This class does not provide an initialize method. Use the Direct3d.createMaterial()method to create and initialize Direct3dMaterial objects.