Struct DxgiSharedTextureFrame
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
The DXGI shared texture of an acquired frame.
public readonly record struct DxgiSharedTextureFrame : IEquatable<DxgiSharedTextureFrame>
- Implements
- Inherited Members
Remarks
See mln_dxgi_shared_texture_frame in the C API reference.
Constructors
DxgiSharedTextureFrame(uint, uint, double, uint, uint, NativePointer)
The DXGI shared texture of an acquired frame.
public DxgiSharedTextureFrame(uint Width, uint Height, double ScaleFactor, uint Slot, uint Format, NativePointer Handle)
Parameters
WidthuintHeightuintScaleFactordoubleSlotuintThe texture's index in the ring.
FormatuintThe texture's
DXGI_FORMAT.HandleNativePointerThe texture's shared NT
HANDLE.
Remarks
See mln_dxgi_shared_texture_frame in the C API reference.
Properties
Format
The texture's DXGI_FORMAT.
public uint Format { get; init; }
Property Value
Handle
The texture's shared NT HANDLE.
public NativePointer Handle { get; init; }
Property Value
Height
public uint Height { get; init; }
Property Value
ScaleFactor
public double ScaleFactor { get; init; }
Property Value
Slot
The texture's index in the ring.
public uint Slot { get; init; }
Property Value
Width
public uint Width { get; init; }