optimization
This commit is contained in:
parent
4925bd77b9
commit
bf6793e41d
5 changed files with 51 additions and 43 deletions
|
|
@ -7,6 +7,7 @@ int main() {
|
|||
WindowWayland window(1280, 720, "Hello Input!");
|
||||
|
||||
RenderingElement element(
|
||||
true, //opaque, wether the element is opague or semi-transparant
|
||||
2, //bufferWidth: the width of this elements pixel buffer
|
||||
1, //bufferHeight: the height of this elements pixel buffer
|
||||
FractionalToMapped(0.5), //anchorX: relative position where this elements x anchor (top-left) is placed to its parent x anchor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue