32 #include <ht_platform.h> 33 #include <Hatchit/HatchitGraphics/include/ht_color.h> 35 #include <ht_string.h> 36 #include <ht_renderpass.h> 37 #include <ht_camera.h> 38 #include <Hatchit/HatchitGraphics/include/ht_device.h> 39 #include <ht_gpuqueue.h> 40 #include <ht_threadqueue.h> 41 #include <ht_shadervariable.h> 42 #include <ht_renderthread.h> 71 RendererType renderer;
74 uint32_t viewportWidth;
75 uint32_t viewportHeight;
78 std::string applicationName;
97 void ResizeBuffers(uint32_t width, uint32_t height);
107 void RegisterCamera(
Camera camera);
109 static IDevice*
const GetDevice();
113 static RendererType GetType();
118 static RendererType _Type;
122 std::vector<std::vector<RenderPassHandle>> m_renderPassLayers = std::vector<std::vector<RenderPassHandle>>(64);
124 std::vector<std::vector<Graphics::Camera>> m_renderPassCameras = std::vector<std::vector<Graphics::Camera>>(64);
126 std::vector<RenderThread*> m_threads;
128 std::unique_lock<std::mutex> m_lock;
129 std::condition_variable m_cv;
133 Core::ThreadsafeQueue<RenderPassHandle> m_threadQueue;
Definition: ht_d3d12material.h:27
Definition: ht_renderer.h:81
Definition: ht_renderer.h:69
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_color.h:19
Definition: ht_camera.h:37
Definition: ht_swapchain.h:38
Color class defining a 4-component color value.
Definition: ht_color.h:26
Interface outlining implementation for GPU Device.
Definition: ht_device.h:27
Singelton class that manages loading of GPU resource objects.
Definition: ht_gpuqueue.h:41
Definition: ht_shadervariablechunk.h:38