Class D3D11DeviceChild
A device-child interface accesses data used by a device.
Inheritance
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public abstract class D3D11DeviceChild : IDisposable, ID3D11Releasable
Properties
| Edit this page View SourceHandle
Gets an handle representing the D3D11 object interface.
Declaration
public abstract object Handle { get; }
Property Value
Type | Description |
---|---|
object |
Methods
| Edit this page View SourceDispose()
Immediately releases the unmanaged resources used by the D3D11DeviceChild object.
Declaration
public void Dispose()
GetDebugName()
Gets a unique name to objects in order to assist the developer during debugging.
Declaration
public string GetDebugName()
Returns
Type | Description |
---|---|
string | The friendly name. |
GetDevice()
Get the device that created this interface.
Declaration
public D3D11Device GetDevice()
Returns
Type | Description |
---|---|
D3D11Device | A device. |
GetPrivateDataText(Guid)
Gets an application-defined data from the object that is associated with a GUID.
Declaration
public string GetPrivateDataText(Guid name)
Parameters
Type | Name | Description |
---|---|---|
Guid | name | A GUID identifying the data. |
Returns
Type | Description |
---|---|
string | The object's text. |
Release()
Releases the managed reference to the COM D3D11 interface.
Declaration
public void Release()
SetDebugName(string)
Sets a unique name to objects in order to assist the developer during debugging.
Declaration
public void SetDebugName(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The friendly name. |
SetPrivateDataText(Guid, string)
Sets an application-defined data to the object and associates that data with a GUID.
Declaration
public void SetPrivateDataText(Guid name, string text)
Parameters
Type | Name | Description |
---|---|---|
Guid | name | A GUID that identifies the data. |
string | text | The object's text. |
ToBoolean()
Gets a boolean indicating if the handle is not null.
Declaration
public bool ToBoolean()
Returns
Type | Description |
---|---|
bool | A boolean |
Operators
| Edit this page View Sourceimplicit operator bool(D3D11DeviceChild)
Gets a boolean indicating if the handle is not null.
Declaration
public static implicit operator bool(D3D11DeviceChild value)
Parameters
Type | Name | Description |
---|---|---|
D3D11DeviceChild | value | A D3D11 device child. |
Returns
Type | Description |
---|---|
bool | A boolean |