working heightmap shader?
This commit is contained in:
parent
43e1fda736
commit
fe15d3e8ca
15 changed files with 331 additions and 76 deletions
|
|
@ -22,12 +22,12 @@ module;
|
|||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
export module Crafter.Graphics:Window;
|
||||
import Crafter.Event;
|
||||
import :UiElement;
|
||||
import :Types;
|
||||
import Crafter.Component;
|
||||
|
||||
export namespace Crafter {
|
||||
class Window {
|
||||
|
|
@ -52,7 +52,7 @@ export namespace Crafter {
|
|||
Event<void> onKeyDown[255];
|
||||
Event<void> onKeyHold[255];
|
||||
Event<void> onKeyUp[255];
|
||||
ComponentRefVectorOwning<UiElement> elements;
|
||||
std::vector<UiElement> elements;
|
||||
std::string name;
|
||||
std::uint32_t width;
|
||||
std::uint32_t height;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue