IGpuTextureSource.ConfigureGpuTextureWrap method
Configures the wrap mode of the underlying GPU texture for tiled or clamped sampling; a no-op by default.
public void ConfigureGpuTextureWrap(IntPtr handle, bool repeatX, bool repeatY)Remarks
Section titled “Remarks”Zero-copy image consumers call this before binding the texture for drawing; without it, tile-mode brush requests silently clamp because the source created the texture with edge clamping (right for filter sampling, wrong for tiled fills) and borrowed wrapping does not touch external texture state. Only sources whose texture wrap mode matters at the consumer’s tile-mode draw site override it.
See Also
Section titled “See Also”- interface IGpuTextureSource
- namespace Aprillz.MewUI.Resources