Effect.ApplyParameterBlock Method

Language:

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

Definition

Visual Basic Public Sub ApplyParameterBlock( _
    ByVal parameterBlock As EffectHandle _
)
C# public void ApplyParameterBlock(
    EffectHandle parameterBlock
);
C++ public:
void ApplyParameterBlock(
    EffectHandleparameterBlock
);
JScript 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.


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

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