MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / Test_Blit

Function Test_Blit

deps/LLGL/tests/Test_Image.cpp:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void Test_Blit()
74{
75 auto img1 = LoadImage("Media/Textures/Grid.png", LLGL::ImageFormat::RGBA);
76
77 img1.Blit(LLGL::Offset3D { -27, 0, 0 }, img1, LLGL::Offset3D { 383, 383, 0 }, LLGL::Extent3D { 54, 55, 1 });
78
79 SaveImagePNG(img1, "Output/img1-blit.png");
80}
81
82void Test_Resize()
83{

Callers

nothing calls this directly

Calls 3

LoadImageFunction · 0.85
SaveImagePNGFunction · 0.85
BlitMethod · 0.45

Tested by

no test coverage detected