Class DirectXContext
public sealed class DirectXContext
- Inheritance
-
DirectXContext
- Inherited Members
Properties
FrameLatencyHandle
IDXGISwapChain2::GetFrameLatencyWaitableObject() handle.
public nint FrameLatencyHandle { get; }
Property Value
Methods
EnsureInitialized(HWND)
Initializes the swapchain + D2D target + DComp visual tree. Must not be done in WM_PAINT (we validate there only).
public void EnsureInitialized(User32.Types.HWND hWnd)
Parameters
Render()
public void Render()
ResizeBuffers(HWND, uint, uint)
public void ResizeBuffers(User32.Types.HWND hWnd, uint physicalW, uint physicalH)