Minor code cleanup
This commit is contained in:
parent
b8959f76db
commit
3187478c99
1 changed files with 6 additions and 6 deletions
|
|
@ -42,13 +42,13 @@ public:
|
||||||
struct Pipelines {
|
struct Pipelines {
|
||||||
VkPipeline toonshading;
|
VkPipeline toonshading;
|
||||||
VkPipeline color;
|
VkPipeline color;
|
||||||
VkPipeline wireframe = VK_NULL_HANDLE;
|
VkPipeline wireframe;
|
||||||
VkPipeline postprocess;
|
VkPipeline postprocess;
|
||||||
} pipelines;
|
} pipelines{};
|
||||||
|
|
||||||
VkPipelineLayout pipelineLayout;
|
VkPipelineLayout pipelineLayout{ VK_NULL_HANDLE };
|
||||||
VkDescriptorSetLayout descriptorSetLayout;
|
VkDescriptorSetLayout descriptorSetLayout{ VK_NULL_HANDLE };
|
||||||
VkDescriptorSet descriptorSet;
|
VkDescriptorSet descriptorSet{ VK_NULL_HANDLE };
|
||||||
|
|
||||||
// Framebuffer for offscreen rendering
|
// Framebuffer for offscreen rendering
|
||||||
struct FrameBufferAttachment {
|
struct FrameBufferAttachment {
|
||||||
|
|
@ -63,7 +63,7 @@ public:
|
||||||
VkRenderPass renderPass;
|
VkRenderPass renderPass;
|
||||||
VkSampler sampler;
|
VkSampler sampler;
|
||||||
VkDescriptorImageInfo descriptor;
|
VkDescriptorImageInfo descriptor;
|
||||||
} offscreenPass;
|
} offscreenPass{};
|
||||||
|
|
||||||
// Function pointers for the VK_EXT_debug_utils_extension
|
// Function pointers for the VK_EXT_debug_utils_extension
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue