D3DDDIARG_SETMATERIAL - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dumddi-_d3dddiarg_setmaterial)

_D3DDDIARG_SETMATERIAL structure

Description

The D3DDDIARG_SETMATERIAL structure describes the material properties that are used for rendering.

Members

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).

See also

SetMaterial