Class BackendInfoD3D11
Exposes Direct3D 11-specific functionality, useful for interoperating with native components which interface directly with Direct3D 11. Can only be used on a GraphicsDevice whose GraphicsBackend is D3D11.
Inheritance
System.Object
    BackendInfoD3D11
  Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public class BackendInfoD3D11
  Properties
Adapter
Gets a pointer to the IAdapter used to create the GraphicsDevice.
Declaration
public IntPtr Adapter { get; }
  Property Value
| Type | Description | 
|---|---|
| System.IntPtr | 
Device
Gets a pointer to the ID3D11Device controlled by the GraphicsDevice.
Declaration
public IntPtr Device { get; }
  Property Value
| Type | Description | 
|---|---|
| System.IntPtr | 
Methods
GetTexturePointer(Texture)
Gets a pointer to the native texture wrapped by the given Veldrid Texture. Depending on the instance's TextureType, this will be a pointer to an ID3D11Texture1D, an ID3D11Texture2D, or an ID3D11Texture3D.
Declaration
public IntPtr GetTexturePointer(Texture texture)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Texture | texture | 
Returns
| Type | Description | 
|---|---|
| System.IntPtr | A pointer to the Veldrid Texture's underlying ID3D11Texture1D, ID3D11Texture2D, or ID3D11Texture3D. The type of this object depends on the parameter's TextureType.  |