vulkan animation
This commit is contained in:
parent
1d0b7a615b
commit
db1616ff0e
4 changed files with 30 additions and 6 deletions
|
|
@ -76,6 +76,7 @@ export namespace Crafter {
|
|||
class MouseElement;
|
||||
class Window {
|
||||
public:
|
||||
FrameTime currentFrameTime;
|
||||
std::int32_t width;
|
||||
std::int32_t height;
|
||||
std::chrono::time_point<std::chrono::high_resolution_clock> lastFrameBegin;
|
||||
|
|
@ -300,7 +301,7 @@ export namespace Crafter {
|
|||
xkb_keymap* xkb_keymap;
|
||||
xkb_context* xkb_context = xkb_context_new(XKB_CONTEXT_NO_FLAGS);
|
||||
xkb_state* xkb_state;
|
||||
Event<VkCommandBuffer> onRender;
|
||||
Event<void> onRender;
|
||||
std::vector<VkDescriptorSet> descriptorsRt;
|
||||
void Render();
|
||||
void QueueRender();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue