Microsoft DirectX 9.0 SDK Update (October 2004)

Effect.ApplyParameterBlock Method

Language:

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

Assigns a state value to each effect parameter in a parameter block.

Definition

Visual Basic .NET Public Sub ApplyParameterBlock( _
    ByVal parameterBlock As EffectHandle _
)
C# public void ApplyParameterBlock(
    EffectHandle parameterBlock
);
Managed C++ public: void ApplyParameterBlock(
    EffectHandle *parameterBlock
);
JScript .NET public function ApplyParameterBlock(
    parameterBlock : EffectHandle
);

Parameters

parameterBlock Microsoft.DirectX.Direct3D.EffectHandle. An EffectHandle object that is returned by Effect.EndParameterBlock.

Remarks

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


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

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center