Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
public final class d3dMaterialStruc { public int dwSize; public float diffuseR; public float diffuseG; public float diffuseB; public float diffuseA; public float ambientR; public float ambientG; public float ambientB; public float ambientA; public float specularR; public float specularG; public float specularB; public float specularA; public float emissiveR; public float emissiveG; public float emissiveB; public float emissiveA; public float power; public float dvPower; public int hTexture; public int dwRampSize; }
Specifies material properties in calls to the GetMaterial and SetMaterial methods.
See also d3dMaterial.
Fields
The texture handle is acquired from Direct3D by loading a texture into the device. The texture handle may be used only when it has been loaded into the device.
![]() | © 1996 Microsoft Corporation. All rights reserved. |