WIP
This commit is contained in:
parent
e5df98aaa6
commit
4771fbfb76
|
@ -325,6 +325,8 @@ namespace SHADE
|
|||
|
||||
void SHGraphicsSystem::Exit(void)
|
||||
{
|
||||
//worldRenderer->
|
||||
graphicsCmdPool.Free();
|
||||
renderContext.Destroy();
|
||||
graphicsQueue.Free();
|
||||
swapchain.Free();
|
||||
|
|
|
@ -286,7 +286,6 @@ namespace SHADE
|
|||
Handle<SHVkQueue> transferQueue;
|
||||
Handle<SHVkDescriptorPool> descPool;
|
||||
Handle<SHVkCommandPool> graphicsCmdPool;
|
||||
Handle<SHVkCommandPool> transferCmdPool;
|
||||
Handle<SHVkCommandBuffer> transferCmdBuffer;
|
||||
Handle<SHVkCommandBuffer> graphicsTexCmdBuffer;
|
||||
SHRenderContext renderContext;
|
||||
|
|
|
@ -49,6 +49,14 @@ namespace SHADE
|
|||
cameraDescriptorSet->UpdateDescriptorSetBuffer(SHGraphicsConstants::DescriptorSetIndex::HIGH_FREQUENCY_GLOBALS, SHGraphicsConstants::DescriptorSetBindings::CAMERA_DATA);
|
||||
}
|
||||
|
||||
SHRenderer::~SHRenderer(void)
|
||||
{
|
||||
//for (auto& cmdBuffer : commandBuffers)
|
||||
//{
|
||||
// cmdBuffer.Free();
|
||||
//}
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/* Camera Registration */
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
|
|
@ -65,6 +65,7 @@ namespace SHADE
|
|||
/* Constructor/Destructors */
|
||||
/*-----------------------------------------------------------------------------*/
|
||||
SHRenderer(Handle<SHVkLogicalDevice> logicalDevice, uint32_t numFrames, std::vector<Handle<SHVkCommandPool>>& cmdPools, Handle<SHVkDescriptorPool> descriptorPool, Handle<SHVkDescriptorSetLayout> cameraDescLayout, Handle<SHViewport> viewport, Handle<SHRenderGraph> renderGraph);
|
||||
~SHRenderer(void);
|
||||
|
||||
/*-----------------------------------------------------------------------------*/
|
||||
/* Camera Registration */
|
||||
|
|
Loading…
Reference in New Issue