IExternalGpuWriteScope interface
A scope handed back from BeginExternalWrite that exposes the writable GPU texture (and any auxiliary handles) needed by external code to render into the backing surface. Each handle carries the role documented on its property; the concrete native type behind it is defined by the backend that produced the scope.
public interface IExternalGpuWriteScope : IDisposableMembers
Section titled “Members”| name | description |
|---|---|
| NativeAlternateHandle { get; } | Auxiliary handle: the render target or command queue the primary texture is written through. |
| NativeDeviceHandle { get; } | Device handle. 0 when the backend has no explicit device object. |
| NativeHandle { get; } | Primary writable native handle (texture). |
| PixelHeight { get; } | Gets the height in device pixels. |
| PixelWidth { get; } | Gets the width in device pixels. |
| YFlipped { get; } | Gets whether row 0 is the bottom of the texture. |
| Flush() | Makes the external writes visible to the backend before the scope is disposed. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Rendering