Class BackendInfoD3D11
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
Exposes Direct3D 11-specific functionality, useful for interoperating with native components which interface directly with Direct3D 11. Can only be used on Direct3D11.
public class BackendInfoD3D11
- Inheritance
-
BackendInfoD3D11
- Inherited Members
Properties
Adapter
Gets a pointer to the IAdapter used to create the GraphicsDevice.
public nint Adapter { get; }
Property Value
Device
Gets a pointer to the ID3D11Device controlled by the GraphicsDevice.
public nint Device { get; }
Property Value
DeviceId
Gets the PCI ID of the hardware device.
public int DeviceId { get; }
Property Value
Methods
GetTexturePointer(Texture)
Gets a pointer to the native texture wrapped by the given NeoVeldrid Texture. Depending on the instance's TextureType, this will be a pointer to an ID3D11Texture1D, an ID3D11Texture2D, or an ID3D11Texture3D.
public nint GetTexturePointer(Texture texture)
Parameters
textureTexture
Returns
- nint
A pointer to the NeoVeldrid Texture's underlying ID3D11Texture1D, ID3D11Texture2D, or ID3D11Texture3D. The type of this object depends on the parameter's TextureType.