wgpu_
test
24.0.0
In wgpu_
test::
image
Structs
ReadbackBuffers
Enums
ComparisonType
Functions
add_alpha
compare_image_output
copy_texture_to_buffer
copy_texture_to_buffer_with_aspect
copy_via_compute
print_flip
read_png
remove_alpha
sanitize_for_path
write_png
wgpu_test
::
image
Function
read_png
Copy item path
Settings
Help
Summary
Source
async fn read_png( path: impl
AsRef
<
Path
>, width:
u32
, height:
u32
, ) ->
Option
<
Vec
<
u8
>>