EffectStateManager.SetMaterial(Material) Method (Microsoft.DirectX.Direct3D)
Sets a material.
Definition
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
);
Parameters
material Microsoft.DirectX.Direct3D.Material
The Material object to set.
Remarks
SetMaterial is a user-implemented method that is called from an effect during rendering.