From 567d384b698151e287e31140709c93f1b92e6db4 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Tue, 13 Aug 2024 20:29:27 +1000 Subject: loading joints and animations --- src/render/pbr.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/render/pbr.h') diff --git a/src/render/pbr.h b/src/render/pbr.h index d7b660b..5a21533 100644 --- a/src/render/pbr.h +++ b/src/render/pbr.h @@ -16,7 +16,8 @@ /** @brief Holds data for the PBR pipeline */ typedef struct PBR_Storage { GPU_Renderpass* pbr_pass; - GPU_Pipeline* pbr_pipeline; + GPU_Pipeline* pbr_static_pipeline; + GPU_Pipeline* pbr_skinned_pipeline; } PBR_Storage; typedef struct PBRMaterialUniforms { @@ -62,7 +63,8 @@ PUB ShaderDataLayout PBRMaterial_GetLayout(void* data); GPU_Renderpass* PBR_RPassCreate(); /** @brief Create the PBR Renderpass */ -GPU_Pipeline* PBR_PipelineCreate(GPU_Renderpass* rpass); /** @brief Create the PBR Pipeline */ +void PBR_PipelinesCreate(PBR_Storage* storage, + GPU_Renderpass* rpass); /** @brief Create PBR Pipelines */ void PBR_Execute(PBR_Storage* storage, Camera camera, TextureHandle shadowmap_tex, RenderEnt* entities, size_t entity_count); -- cgit v1.2.3-70-g09d2