Skip to content

ICpuPixelSurface.CommitCpuWrite method

Flushes pixels written through GetWritablePixelSpan to the surface’s GPU resource so a later draw or sample reflects them; a no-op for surfaces whose CPU buffer is the drawn memory or that upload from it when consumed.

public void CommitCpuWrite()

The CPU filter executor calls this after writing a result, on the render thread with the backend context current.