EffectPool.EffectPool Constructor |
Language: |
Creates a new instance of an EffectPool object.
Visual Basic .NET Public Sub New( _
ByVal pUnk As ID3DXEffectPool _
)C# public EffectPool(
ID3DXEffectPool pUnk
);Managed C++ public: EffectPool(
ID3DXEffectPool pUnk
);JScript .NET public function EffectPool(
pUnk : ID3DXEffectPool
);
pUnk Microsoft.DirectX.PrivateImplementationDetails.ID3DXEffectPool. Unmanaged Component Object Model (COM) ID3DXEffectPool interface pointer.
A pool is used to share parameters between effects. For effects within a pool, shared parameters with the same name share values.
Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
Feedback? Please provide us with your comments on this topic.