Skip to main content

resize_nearest_gpu

Function resize_nearest_gpu 

Source
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.