Implemented API for model node creation.

hello_cube smoke test now adds a model node and assigns the built-in cube model
This commit is contained in:
2024-09-21 23:32:38 -07:00
parent 3b9a5d6f81
commit 0a66f11ff0
17 changed files with 95 additions and 29 deletions

View File

@@ -190,8 +190,8 @@ KrResult KRSurface::createSwapChain()
RenderPassInfo info{};
info.finalPass = false;
// info.type = RenderPassType::RENDER_PASS_PRESTREAM;
// m_renderGraph->addRenderPass(*device, info);
info.type = RenderPassType::RENDER_PASS_PRESTREAM;
m_renderGraph->addRenderPass(*device, info);
for (int shadow_index = 0; shadow_index < shadow_buffer_count; shadow_index++) {
info.depthAttachment.id = attachment_shadow_cascades[shadow_index];