Applications use the methods of the IDirect3DRMMaterial interface to interact with material objects. This section is a reference to the methods of this interface. For a conceptual overview, see IDirect3DRMMaterial Interface.
The methods of the IDirect3DRMMaterial interface can be organized into the following groups:
| Emission | GetEmissive |
| SetEmissive | |
| Power for | GetPower |
| specular exponent | SetPower |
| Specular | GetSpecular |
| SetSpecular |
The IDirect3DRMMaterial interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:
AddRef
QueryInterface
Release
In addition, the IDirect3DRMMaterial interface inherits the following methods from the IDirect3DRMObject interface:
The Direct3DRMMaterial object is obtained by calling the IDirect3DRM::CreateMaterial method.