summaryrefslogtreecommitdiffstats
path: root/tools/render-test/png-serialize-util.h
blob: 38e796c3cfcf1bf42153bb8f2d8e944daa8a0d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// png-serialize-util.h
#pragma once

#include "core/slang-blob.h"

namespace renderer_test
{

struct PngSerializeUtil
{
    static Slang::Result write(
        const char* filename,
        ISlangBlob* pixels,
        uint32_t width,
        uint32_t height,
        uint32_t rowPitch);
};

} // namespace renderer_test