Share via


MeshContainer.SetEffectInstances(EffectInstance[]) Method (Microsoft.DirectX.Direct3D)

Sets an array of EffectInstance objects that contain the effects for the mesh.

Definition

Visual Basic Public Sub SetEffectInstances( _
    ByVal effects() As EffectInstance _
)
C# public void SetEffectInstances(
    EffectInstance[] effects
);
C++ public:
void SetEffectInstances(
    array<EffectInstance>^ effects
);
JScript public function SetEffectInstances(
    effects : EffectInstance[]
);

Parameters

effects Microsoft.DirectX.Direct3D.EffectInstance[]
An array of EffectInstance objects.