LeviLamina
Loading...
Searching...
No Matches
MatrixStack.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Matrix.h"
7
8class MatrixStack {
9public:
10 // MatrixStack inner types declare
11 // clang-format off
12 struct MatrixStackRef;
13 // clang-format on
14
15 // MatrixStack inner types define
16 struct MatrixStackRef {
17 public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::MatrixStack*> stack;
21 ::ll::TypedStorage<8, 8, ::Matrix*> mat;
22 // NOLINTEND
23
24 public:
25 // member functions
26 // NOLINTBEGIN
27 MCFOLD ::Matrix& operator*();
28
29 MCFOLD ::Matrix* operator->();
30
31 MCAPI ::MatrixStack::MatrixStackRef& operator=(::Matrix const& lhs);
32
33 MCFOLD void release();
34
35 MCAPI ~MatrixStackRef();
36 // NOLINTEND
37
38 public:
39 // destructor thunk
40 // NOLINTBEGIN
41 MCFOLD void $dtor();
42 // NOLINTEND
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
48 ::ll::TypedStorage<8, 40, ::std::deque<::Matrix>> stack;
49 ::ll::TypedStorage<8, 16, ::std::optional<uint64>> sortOrigin;
50 ::ll::TypedStorage<1, 1, bool> _isDirty;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI MatrixStack();
57
58 MCAPI ::Matrix& getTop();
59
60 MCAPI bool isSortOriginTop() const;
61
62 MCAPI ::MatrixStack::MatrixStackRef push(bool isSortOrigin);
63
64 MCAPI ::MatrixStack::MatrixStackRef push(::Matrix const& matrix, bool isSortOrigin);
65
66 MCAPI ::MatrixStack::MatrixStackRef pushIdentity(bool isSortOrigin);
67
68 MCAPI ::Matrix const& sortOriginTransform() const;
69
70 MCAPI ::Matrix const& top() const;
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCAPI void* $ctor();
77 // NOLINTEND
78};
Definition MatrixStack.h:5
Definition MatrixStack.h:13