Skip to main content
Version: 0.9.0 (next)

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

public sealed class StreamParamsD3D11 : Structure

Inherits: Structure → StreamParamsD3D11

Constructors​

StreamParamsD3D11()​

public StreamParamsD3D11()

Properties​

MemberDescription
D3D11ContextID3D11DeviceContext1*.
D3D11DeviceID3D11Device1*.
ColorBindFlagsD3D11_BIND_FLAG bits of the colour textures, for example RENDER_TARGET | SHADER_RESOURCE.
DepthBindFlagsD3D11_BIND_FLAG bits of the depth textures, for example DEPTH_STENCIL.
AcquireKeyedMutexSyncTrue (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