Skip to content

Commit

Permalink
Add depthSlice to color attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel authored Sep 20, 2024
1 parent f7319cd commit 80d032f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ void Application::onFrame() {
renderPassColorAttachment.loadOp = LoadOp::Clear;
renderPassColorAttachment.storeOp = StoreOp::Store;
renderPassColorAttachment.clearValue = Color{ 0.05, 0.05, 0.05, 1.0 };
renderPassColorAttachment.depthSlice = WGPU_DEPTH_SLICE_UNDEFINED;
renderPassDesc.colorAttachmentCount = 1;
renderPassDesc.colorAttachments = &renderPassColorAttachment;

Expand Down

0 comments on commit 80d032f

Please sign in to comment.