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

@@ -81,8 +81,8 @@ void init() {
void frame() {
nxt::Texture backbuffer;
nxt::RenderPassInfo renderPass;
GetNextRenderPassInfo(device, swapchain, depthStencilView, &backbuffer, &renderPass);
nxt::RenderPassDescriptor renderPass;
GetNextRenderPassDescriptor(device, swapchain, depthStencilView, &backbuffer, &renderPass);
static const uint32_t vertexBufferOffsets[1] = {0};
nxt::CommandBuffer commands = device.CreateCommandBufferBuilder()