EffectCompiler.SetArrayRange Method

Language:

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.


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

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