Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure is used to describe the current material.
Syntax
typedef struct _D3DMMATERIAL { D3DMCOLORVALUE Diffuse; D3DMCOLORVALUE Ambient; D3DMCOLORVALUE Specular; float Power; } D3DMMATERIAL; |
Members
- Diffuse
-
A D3DMCOLORVALUEstructure describing the color of diffuse light that will be reflected from the material.
- Ambient
-
A D3DMCOLORVALUEstructure describing the color of ambient light that will be reflected from the material.
- Specular
-
A D3DMCOLORVALUEstructure describing the color of specular light that will be reflected from the material.
- Power
-
A float value describing the size of the specular highlight that this material has.
Remarks
The members of the D3DMCOLORVALUEstructure are of the type D3DMVALUE. Therefore, they can be either IEEE 32 bit floating point values or 16.16 fixed point values. You must provide the interpretations for these members' values by setting the D3DMFORMATvalue in any method calls that use D3DMMATERIAL.
Requirements
Header | d3dmtypes.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.