Initializing variables
This commit is contained in:
parent
60103dd1ce
commit
4f46136c08
2 changed files with 10 additions and 10 deletions
|
|
@ -68,7 +68,7 @@ private:
|
|||
nvvk::Texture m_depthTexture;
|
||||
vk::Format m_depthFormat{vk::Format::eD32Sfloat};
|
||||
|
||||
nvvk::Allocator* m_alloc; // Allocator for buffer, images, acceleration structures
|
||||
nvvk::Allocator* m_alloc{nullptr}; // Allocator for buffer, images, acceleration structures
|
||||
vk::Device m_device;
|
||||
int m_graphicsQueueIndex{0};
|
||||
nvvk::DebugUtil m_debug; // Utility to name objects
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ public:
|
|||
ObjPushConstants& sceneConstants);
|
||||
|
||||
private:
|
||||
nvvk::Allocator* m_alloc; // Allocator for buffer, images, acceleration structures
|
||||
nvvk::Allocator* m_alloc{nullptr}; // Allocator for buffer, images, acceleration structures
|
||||
vk::PhysicalDevice m_physicalDevice;
|
||||
vk::Device m_device;
|
||||
int m_graphicsQueueIndex{0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue