Effect.ApplyParameterBlock Method |
Language: |
Assigns a state value to each effect parameter in a parameter block.
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
);
parameterBlock Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that is returned by Effect.EndParameterBlock.
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