summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSoftGPU/ImageDataLayout.h
blob: 30e65ed7cc61086e6bbb411241c990d94fa4d439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibGPU/ImageFormat.h>

namespace SoftGPU {

struct ImageDataLayout final {
    GPU::ImageFormat format;
    size_t column_stride;
    size_t row_stride;
    size_t depth_stride;
};

}