From 73ff6907d723003d30e400f661876e7960de574f Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Mon, 6 Aug 2018 15:52:38 -0700 Subject: Add basic support for "Dear IMGUI" (#625) This isn't being made visible just yet, but it will allow us to have a simple UI for loading models into the model-viewer example. In order to support rendering with IMGUI I had to add the following to the `Renderer` layer: * viewports * scissor rects * blend support These are really only fully implemented for D3D11, but adding them to the other back-ends should be a reasonably small task. --- tools/gfx/render.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/gfx/render.cpp') diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp index 8f887b491..38af85f79 100644 --- a/tools/gfx/render.cpp +++ b/tools/gfx/render.cpp @@ -55,6 +55,7 @@ const Resource::DescBase& Resource::getDescBase() const uint8_t(sizeof(uint32_t)), // RGBA_Unorm_UInt8, + uint8_t(sizeof(uint16_t)), // R_UInt16, uint8_t(sizeof(uint32_t)), // R_UInt32, uint8_t(sizeof(float)), // D_Float32, -- cgit v1.2.3