LeviLamina
Loading...
Searching...
No Matches
Image.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/image/ImageFormat.h"
7#include "mc/deps/core/image/ImageUsage.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace mce { class Blob; }
12// clang-format on
13
14namespace mce {
15
16struct Image {
17public:
18 // Image inner types define
19 using Storage = ::mce::Blob;
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, ::mce::ImageFormat> imageFormat;
25 ::ll::TypedStorage<4, 4, uint> mWidth;
26 ::ll::TypedStorage<4, 4, uint> mHeight;
27 ::ll::TypedStorage<4, 4, uint> mDepth;
28 ::ll::TypedStorage<1, 1, ::mce::ImageUsage> mUsage;
29 ::ll::TypedStorage<8, 24, ::mce::Blob> mImageBytes;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 Image& operator=(Image const&);
35 Image(Image const&);
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI Image(uint w, uint h, ::mce::ImageFormat format, ::mce::ImageUsage usage);
41
42 MCAPI ::mce::Image clone() const;
43
44 MCAPI ::mce::Image& operator=(::mce::Image&&);
45
46 MCAPI void resizeImageBytesToFitImageDescription();
47
48 MCAPI ~Image();
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(uint w, uint h, ::mce::ImageFormat format, ::mce::ImageUsage usage);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCAPI void $dtor();
61 // NOLINTEND
62};
63
64} // namespace mce
Definition Blob.h:7
Definition Image.h:16