summaryrefslogtreecommitdiffstats
path: root/tools/render-test/png-serialize-util.h
blob: 4eb119b307b59e23d0d8cd1f80c364aed5502078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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);
};

} // namespace renderer_test