diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-13 20:29:27 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-13 20:29:27 +1000 |
commit | 567d384b698151e287e31140709c93f1b92e6db4 (patch) | |
tree | e00975124d3f002a8aaa22e85475d913c6950346 /src/render/pbr.h | |
parent | 13949ca02bcf9fcdfcc48ea7949f617553a260b6 (diff) |
loading joints and animations
Diffstat (limited to 'src/render/pbr.h')
-rw-r--r-- | src/render/pbr.h | 6 |
1 files changed, 4 insertions, 2 deletions
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); |