Direct3DRender Context
data class Direct3DRenderContext(val directContext: DirectContext, val hwnd: Long, val adapter: Long, val device: Long, val commandQueue: Long, val swapChain: Long, val compositionDevice: Long, val compositionTarget: Long, val compositionVisual: Long) : RenderContext(source)
Direct3D render context for a Compose GLFW window.
Native handles are borrowed from the host window and remain valid only until that window is closed or recreated. Do not close or release them from user code.
Constructors
Properties
Link copied to clipboard
ID3D12CommandQueue pointer used by Skia and DXGI presentation.
Link copied to clipboard
IDCompositionDesktopDevice pointer owning the composition transaction.
Link copied to clipboard
IDCompositionTarget pointer bound to the GLFW HWND.
Link copied to clipboard
IDCompositionVisual pointer whose content is the DXGI swap chain.
Link copied to clipboard
Skia direct context used by Compose for this window.