pub fn resize_nearest_gpu(
runtime: &WgpuRuntime,
source: &GpuImage,
width: u32,
height: u32,
) -> SpatialResult<GpuImage>Expand description
Resizes a device image with nearest-neighbor sampling without host transfer.
Unsupported dimensions, coordinate products and device limits return an error before output allocation or pipeline initialization.