Rename RenderPassInfo to RenderPassDescriptor

This commit is contained in:
Corentin Wallez
2018-05-11 13:04:44 -04:00
committed by Corentin Wallez
parent 6f7749cce9
commit 8d6b5d2337
61 changed files with 231 additions and 216 deletions

View File

@@ -98,8 +98,8 @@ void frame() {
buffer.SetSubData(0, sizeof(s), reinterpret_cast<uint8_t*>(&s));
nxt::Texture backbuffer;
nxt::RenderPassInfo renderPass;
GetNextRenderPassInfo(device, swapchain, depthStencilView, &backbuffer, &renderPass);
nxt::RenderPassDescriptor renderPass;
GetNextRenderPassDescriptor(device, swapchain, depthStencilView, &backbuffer, &renderPass);
nxt::CommandBuffer commands = device.CreateCommandBufferBuilder()
.BeginRenderPass(renderPass)