EffectCompiler.SetArrayRange Method

Language:

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

Sets the range of an array to pass to the device.

Definition

Visual Basic .NET Public Sub SetArrayRange( _
    ByVal parameter As EffectHandle, _
    ByVal start As Integer, _
    ByVal end As Integer _
)
C# public void SetArrayRange(
    EffectHandle parameter,
    int start,
    int end
);
Managed C++ public: void SetArrayRange(
    EffectHandle *parameter,
    int start,
    int end
);
JScript .NET public function SetArrayRange(
    parameter : EffectHandle,
    start : int,
    end : int
);

Parameters

parameter Microsoft.DirectX.Direct3D.EffectHandle. An EffectHandle object that represents the effect.
start System.Int32. The array starting index.
end System.Int32. The array ending index.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


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

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