EffectStateManager.SetMaterial Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets a material.

Definition

Visual Basic .NET MustOverride Public Sub SetMaterial( _
    ByRef material As Material _
)
C# public abstract void SetMaterial(
    ref Material material
);
Managed C++ public: virtual void SetMaterial(
    Material *material
) = 0;
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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