Effect.Effect Constructor

Language:

Initializes a new instance of the Effect class.

Definition

Visual Basic Public Sub New( _
    ByVal pData As ID3DXEffect, _
    ByVal device As Device _
)
C# public Effect(
    ID3DXEffect pData,
    Device device
);
C++ public:
 Effect(
    ID3DXEffect pData,
    Devicedevice
);
JScript public function Effect(
    pData : ID3DXEffect,
    device : Device
);

Parameters

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.

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