moving pointsets to the GPU via Uniform buffer

This commit is contained in:
CDaut 2024-07-09 20:18:28 +02:00
parent 74457d1a9c
commit 1114f4c8ff
Signed by: clara
GPG key ID: 223391B52FAD4463
6 changed files with 61 additions and 51 deletions

View file

@ -31,6 +31,7 @@
#include "imgui/imgui_helper.h"
#include "hello_vulkan.h"
#include "shaders/host_device.h"
#include "imgui/imgui_camera_widget.h"
#include "nvh/cameramanipulator.hpp"
#include "nvh/fileoperations.hpp"
@ -71,8 +72,8 @@ void renderUI(HelloVulkan& helloVk, bool useRaytracer)
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
static int const SAMPLE_WIDTH = 800;
static int const SAMPLE_HEIGHT = 800;
static int const SAMPLE_WIDTH = WINDOWSIZE;
static int const SAMPLE_HEIGHT = WINDOWSIZE;
//--------------------------------------------------------------------------------------------------