Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get the device that created the effect.
Syntax
HRESULT GetDevice(
[out] ID3D10Device **ppDevice
);
Parameters
[out] ppDevice
Type: ID3D10Device**
A pointer to an ID3D10Device Interface.
Return value
Type: HRESULT
Returns one of the following Direct3D 10 Return Codes.
Remarks
An effect is created for a specific device, by calling a function such as D3DX10CreateEffectFromFile.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10effect.h |