Share via


BaseTexture.BaseTexture(IDirect3DBaseTexture9) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the BaseTexture class.

Definition

Visual Basic Public Sub New( _
    ByVal pInterop As IDirect3DBaseTexture9 _
)
C# public BaseTexture(
    IDirect3DBaseTexture9 pInterop
);
C++ public:
 BaseTexture(
    IDirect3DBaseTexture9 pInterop
);
JScript public function BaseTexture(
    pInterop : IDirect3DBaseTexture9
);

Parameters

pInterop Microsoft.DirectX.PrivateImplementationDetails.IDirect3DBaseTexture9
Unmanaged Component Object Model (COM) IDirect3DBaseTexture9 interface pointer.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a parameter might contain an invalid value.

OutOfVideoMemoryException

Microsoft Direct3D does not have enough display memory to perform the operation.

OutOfMemoryExceptionLeave Site

Direct3D could not allocate sufficient memory to complete the call.