Fixed cdf and added Standard Lit

This commit is contained in:
2025-12-29 22:01:44 +09:00
parent e1693764f7
commit adee5acd10
24 changed files with 830 additions and 570 deletions

View File

@@ -57,7 +57,7 @@ void material_collection_free(material_collection_t* materials)
}
}
material_entity_t material_create(const void* properties, size_t properties_size, material_render_loop_f render_loop, material_render_aov_f render_aov, material_collection_t* collection)
material_handle_t material_create(const void* properties, size_t properties_size, material_render_loop_f render_loop, material_render_aov_f render_aov, material_collection_t* collection)
{
material_t material = {0};
@@ -79,7 +79,7 @@ material_entity_t material_create(const void* properties, size_t properties_size
material.render_loop = render_loop;
material.render_aov = render_aov;
material_entity_t entity = {.id = collection->count};
material_handle_t entity = {.id = collection->count};
collection->buffer[collection->count] = material;
collection->count++;