forward.hpp

1
2
3
4
5
6
7
8
9
#pragma once


#include <planet/vk/forward.hpp>

#include <cstddef>


namespace planet::vk::engine {

Maximum number of frames that we're willing to deal with at any given time

13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
    constexpr std::size_t max_frames_in_flight = 3;


    struct app;
    struct depth_buffer;
    class renderer;


    namespace pipeline {


        class mesh;
        class sprite;
        class textured;


    }


    namespace ui {


        template<typename T>
        struct per_frame;
        template<
                typename Pipeline = pipeline::textured,
                typename Texture = vk::texture>
        struct tx;

    }

}