RenderStateManager.DiffuseMaterialSource Property |
Language: |
Retrieves or sets the diffuse color source for lighting calculations.
Visual Basic Public Property DiffuseMaterialSource As ColorSource C# public ColorSource DiffuseMaterialSource { get; set; } C++ public:
property ColorSource DiffuseMaterialSource {
ColorSource get();
void set(ColorSource value);
}JScript public function get DiffuseMaterialSource() : ColorSource
public function set DiffuseMaterialSource(ColorSource);
Microsoft.DirectX.Direct3D.ColorSource
This property is read/write.
A ColorSource object that specifies the diffuse color source value to set or retrieve.
Valid values are members of the ColorSource enumerated type. The default value is ColorSource.Color1. The value for this render state is used only if RenderStateManager.ColorVertex is set to true.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.