summaryrefslogtreecommitdiff
path: root/src/new_render/pbr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/new_render/pbr.h')
-rw-r--r--src/new_render/pbr.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/new_render/pbr.h b/src/new_render/pbr.h
index d8c9405..cbdc577 100644
--- a/src/new_render/pbr.h
+++ b/src/new_render/pbr.h
@@ -48,11 +48,10 @@ typedef struct PBR_Textures {
TextureHandle ao_map;
} PBR_Textures;
-// --- Internal
-
-typedef struct MaterialMap MaterialMap;
+PUB Material PBRMaterialDefault();
+PUB ShaderDataLayout PBRMaterial_GetLayout(void* data);
-Material PBRMaterialDefault();
+// --- Internal
GPU_Renderpass* PBR_RPassCreate();
@@ -60,5 +59,3 @@ GPU_Pipeline* PBR_PipelineCreate(GPU_Renderpass* rpass);
void PBR_Execute(PBR_Storage* storage, Camera camera, TextureHandle shadowmap_tex,
RenderEnt* entities, size_t entity_count);
-
-ShaderDataLayout PBRMaterial_GetLayout(void* data); \ No newline at end of file