DxgiSharedTextureRingDescriptor

data class DxgiSharedTextureRingDescriptor(val logicalSize: LogicalSize, val textureCount: UInt)

A ring of DXGI shared textures that the library allocates, for MapHandle.attachDxgiSharedTextureRing().

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

Link copied to clipboard
constructor(logicalSize: LogicalSize, textureCount: UInt)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
@get:JvmName(name = "getTextureCount")
val textureCount: UInt

How many textures the ring has, from 1 to 8.