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/container/Blob.h"
7#include "mc/deps/core/image/ImageFormat.h"
8#include "mc/deps/core/image/ImageUsage.h"
9
10namespace mce {
11
12struct Image {
13public:
14 // Image inner types define
15 using Storage = ::mce::Blob;
16
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, ::mce::ImageFormat> imageFormat;
21 ::ll::TypedStorage<4, 4, uint> mWidth;
22 ::ll::TypedStorage<4, 4, uint> mHeight;
23 ::ll::TypedStorage<4, 4, uint> mDepth;
24 ::ll::TypedStorage<1, 1, ::mce::ImageUsage> mUsage;
25 ::ll::TypedStorage<8, 24, ::mce::Blob> mImageBytes;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 Image& operator=(Image const&);
31 Image(Image const&);
32 Image();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCNAPI Image(uint w, uint h, ::mce::ImageFormat format, ::mce::ImageUsage usage);
38
39 MCNAPI ::mce::Image clone() const;
40
41 MCNAPI ::mce::Image& operator=(::mce::Image&&);
42
44
45 MCNAPI ~Image();
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCNAPI void* $ctor(uint w, uint h, ::mce::ImageFormat format, ::mce::ImageUsage usage);
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57 MCNAPI void $dtor();
58 // NOLINTEND
59};
60
61} // namespace mce
Definition Blob.h:7
Definition Image.h:12
MCAPI void * $ctor(uint w, uint h, ::mce::ImageFormat format, ::mce::ImageUsage usage)
MCAPI Image(uint w, uint h, ::mce::ImageFormat format, ::mce::ImageUsage usage)
MCAPI::mce::Image & operator=(::mce::Image &&)
MCAPI::mce::Image clone() const
MCAPI void $dtor()
MCAPI void resizeImageBytesToFitImageDescription()
MCAPI ~Image()