Bulk update nvpro-samples 03/10/22
This commit is contained in:
parent
7a2e7e6837
commit
08dab08b0b
7 changed files with 7 additions and 7 deletions
|
|
@ -56,7 +56,7 @@ void Offscreen::destroy()
|
|||
//--------------------------------------------------------------------------------------------------
|
||||
// Creating an offscreen frame buffer and the associated render pass
|
||||
//
|
||||
void Offscreen::createFramebuffer(VkExtent2D& size)
|
||||
void Offscreen::createFramebuffer(const VkExtent2D& size)
|
||||
{
|
||||
m_alloc->destroy(m_colorTexture);
|
||||
m_alloc->destroy(m_depthTexture);
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public:
|
|||
void setup(const VkDevice& device, const VkPhysicalDevice& physicalDevice, nvvk::ResourceAllocator* allocator, uint32_t queueFamily);
|
||||
void destroy();
|
||||
|
||||
void createFramebuffer(VkExtent2D& size);
|
||||
void createFramebuffer(const VkExtent2D& size);
|
||||
void createPipeline(VkRenderPass& renderPass);
|
||||
void createDescriptor();
|
||||
void updateDescriptorSet();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue