| EffectStateManager.SetMaterial Method | Language: | 
Sets a material.
Visual Basic MustOverride Public Sub SetMaterial( _ 
ByRef material As Material _
)C# public abstract void SetMaterial( 
ref Material material
);C++ public: 
virtual void SetMaterial(
Material% material
) abstract;JScript public abstract function SetMaterial( 
material : Material
);
material Microsoft.DirectX.Direct3D.Material 
The Material object to set.
SetMaterial is a user-implemented method that is called from an effect during rendering.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.