Struct DxgiSharedTextureRingDescriptor
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
A ring of DXGI shared textures that the library allocates, for
MapHandle.AttachDxgiSharedTextureRing().
public readonly record struct DxgiSharedTextureRingDescriptor : IEquatable<DxgiSharedTextureRingDescriptor>
- Implements
- Inherited Members
Remarks
Each texture is a D3D11 2D texture with the map's size in pixels and the format DXGI_FORMAT_B8G8R8A8_UNORM. It binds as a shader resource and a render target, and is shared through an NT handle.
See mln_dxgi_shared_texture_ring_descriptor in the C API reference.
Constructors
DxgiSharedTextureRingDescriptor(LogicalSize, uint)
[SetsRequiredMembers]
public DxgiSharedTextureRingDescriptor(LogicalSize LogicalSize, uint TextureCount)
Parameters
LogicalSizeLogicalSizeTextureCountuint
Properties
LogicalSize
public required LogicalSize LogicalSize { get; init; }
Property Value
TextureCount
How many textures the ring has, from 1 to 8.
public required uint TextureCount { get; init; }