DiffuseMaterialSource
Keywords: DiffuseMaterialSource, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> DiffuseMaterialSource - 3D API diffuse material source

> ## Usage

> DiffuseMaterialSource = int(enable)

> ## Valid Enumerants

> enable: true, false

> ## Description

> Enable/disable front and back diffuse color material. See the GL_DIFFUSE description on the OpenGL glColorMaterial manual page for details. See the D3DRS_DIFFUSEMATERIALSOURCE render state description for DirectX 9.

> The standard reset callback sets the DiffuseMaterialSource state to int(false).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> AmbientMaterialSource, ColorMaterial, EmissiveMaterialSource, MaterialAmbient, MaterialDiffuse, MaterialEmission, MaterialEmissive, MaterialPower, MaterialShininess, MaterialSpecular, SpecularMaterialSource