![]() |
![]() |
![]() |
Effect.Effect Constructor |
Language: |
Initializes a new instance of the Effect class.
Visual Basic .NET Public Sub New( _
ByVal pData As ID3DXEffect, _
ByVal device As Device _
)C# public Effect(
ID3DXEffect pData,
Device device
);Managed C++ public: Effect(
ID3DXEffect pData,
Device *device
);JScript .NET public function Effect(
pData : ID3DXEffect,
device : Device
);
pData Microsoft.DirectX.PrivateImplementationDetails.ID3DXEffect. Unmanaged Component Object Model (COM) ID3DXEffect interface pointer. device Microsoft.DirectX.Direct3D.Device. A Device object to associate with the Effect object.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center