ID3D11DeviceChild interface (d3d11.h)

A device-child interface accesses data used by a device.

Inheritance

The ID3D11DeviceChild interface inherits from the IUnknown interface. ID3D11DeviceChild also has these types of members:

Methods

The ID3D11DeviceChild interface has these methods.

 
ID3D11DeviceChild::GetDevice

Get a pointer to the device that created this interface. (ID3D11DeviceChild.GetDevice)
ID3D11DeviceChild::GetPrivateData

Get application-defined data from a device child. (ID3D11DeviceChild.GetPrivateData)
ID3D11DeviceChild::SetPrivateData

Set application-defined data to a device child and associate that data with an application-defined guid. (ID3D11DeviceChild.SetPrivateData)
ID3D11DeviceChild::SetPrivateDataInterface

Associate an IUnknown-derived interface with this device child and associate that interface with an application-defined guid. (ID3D11DeviceChild.SetPrivateDataInterface)

Remarks

There are several types of device child interfaces, all of which inherit this interface. They include shaders, state objects, and input layouts.

Windows Phone 8: This API is supported.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

Core Interfaces

IUnknown