Effect.ApplyParameterBlock(EffectHandle) Method (Microsoft.DirectX.Direct3D)
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(
EffectHandle^ parameterBlock
);JScript public function ApplyParameterBlock(
parameterBlock : EffectHandle
);
Parameters
parameterBlock Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that is returned by Effect.EndParameterBlock.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
The data is invalid.