StreamParamsD3D11 class
Extension: adopt the application's D3D11.1 device, so the sender's frame textures are shared D3D11 textures it renders into directly, with no CPU copy. Windows only.
Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll · Source: QarTypes.cs
public sealed class StreamParamsD3D11 : Structure
Inherits: Structure → StreamParamsD3D11
Constructors
StreamParamsD3D11()
public StreamParamsD3D11()
Properties
| Member | Description |
|---|---|
| D3D11Context | ID3D11DeviceContext1*. |
| D3D11Device | ID3D11Device1*. |
| ColorBindFlags | D3D11_BIND_FLAG bits of the colour textures, for example RENDER_TARGET | SHADER_RESOURCE. |
| DepthBindFlags | D3D11_BIND_FLAG bits of the depth textures, for example DEPTH_STENCIL. |
| AcquireKeyedMutexSync | True (the default) lets the library acquire and release the textures' keyed mutexes. Set false only to drive the acquire/release key chain yourself, for example when copying through a chain of shared textures; the keys are in SyncFrameD3D11. |
D3D11Context
ID3D11DeviceContext1*.
public nint D3D11Context { get; set; }
Value: nint
D3D11Device
ID3D11Device1*.
public nint D3D11Device { get; set; }
Value: nint
ColorBindFlags
D3D11_BIND_FLAG bits of the colour textures, for example RENDER_TARGET | SHADER_RESOURCE.
public uint ColorBindFlags { get; set; }
Value: uint
DepthBindFlags
D3D11_BIND_FLAG bits of the depth textures, for example DEPTH_STENCIL.
public uint DepthBindFlags { get; set; }
Value: uint
AcquireKeyedMutexSync
True (the default) lets the library acquire and release the textures' keyed mutexes.
Set false only to drive the acquire/release key chain yourself, for example when copying
through a chain of shared textures; the keys are in SyncFrameD3D11.
public bool AcquireKeyedMutexSync { get; set; }
Value: bool