Effect.SetArrayRange(EffectHandle,Int32,Int32) Method (Microsoft.DirectX.Direct3D)

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

Definition

Visual Basic 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
);
C++ public:
void SetArrayRange(
    EffectHandleparameter,
    int start,
    int end
);
JScript 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.