EffectStateManager.SetMaterial Method

Language:

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(
    Materialmaterial
) 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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.