IDirect3DDevice8::SetMaterial
This method sets the material properties for the device.
HRESULT SetMaterial(
CONST D3DMATERIAL8* pMaterial
);
Parameters
- pMaterial
[in] Pointer to a D3DMATERIAL8 structure, describing the material properties to set.
Return Values
If the method succeeds, the return value is D3D_OK.
The return value is D3DERR_INVALIDCALL if the pMaterial parameter is invalid.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8.h.
Link Library: D3d8.lib.
See Also
IDirect3DDevice8::GetMaterial | D3DMATERIAL8 | IDirect3DDevice8
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.