Struct MetalContextDescriptor
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
The Metal device that a render session uses.
public readonly record struct MetalContextDescriptor : IEquatable<MetalContextDescriptor>
- Implements
- Inherited Members
Remarks
See mln_metal_context_descriptor in the C API reference.
Constructors
MetalContextDescriptor(NativePointer)
The Metal device that a render session uses.
public MetalContextDescriptor(NativePointer Device)
Parameters
DeviceNativePointerAn
MTLDevice.
Remarks
See mln_metal_context_descriptor in the C API reference.
Properties
Device
An MTLDevice.
public NativePointer Device { get; init; }