Table of Contents

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

Width uint
Height uint
ScaleFactor double
Slot uint

The texture's index in the ring.

Format uint

The texture's DXGI_FORMAT.

Handle NativePointer

The 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

uint

Handle

The texture's shared NT HANDLE.

public NativePointer Handle { get; init; }

Property Value

NativePointer

Height

public uint Height { get; init; }

Property Value

uint

ScaleFactor

public double ScaleFactor { get; init; }

Property Value

double

Slot

The texture's index in the ring.

public uint Slot { get; init; }

Property Value

uint

Width

public uint Width { get; init; }

Property Value

uint