Microsoft DirectX 9.0 SDK Update (October 2004)

Effect.Effect Constructor

Language:

Note: This documentation is preliminary and is subject to change.

Initializes a new instance of the Effect class.

Definition

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
);

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.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center