// d3dumddi.h
typedef struct _D3DDDIARG_SETMATERIAL {
[in] D3DCOLORVALUE Diffuse;
[in] D3DCOLORVALUE Ambient;
[in] D3DCOLORVALUE Specular;
[in] D3DCOLORVALUE Emissive;
[in] FLOAT Power;
} D3DDDIARG_SETMATERIAL;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDIARG_SETMATERIAL structure describes the material properties that are used for rendering.
Diffuse [in]A D3DCOLORVALUE structure that indicates the diffuse color of the material. For more information about D3DCOLORVALUE, see the Microsoft Windows SDK documentation.
Ambient [in]A D3DCOLORVALUE structure that indicates the ambient color of the material.
Specular [in]A D3DCOLORVALUE structure that indicates the specular color of the material.
Emissive [in]A D3DCOLORVALUE structure that indicates the emissive color of the material.
Power [in]A FLOAT value that indicates the sharpness of specular highlights. To turn off specular highlights for a material, set Power to 0 (setting Specular to 0 is not enough).