@@ -73,7 +73,7 @@ Index of this file:
7373#include "pl_physics_ext.h"
7474#include "pl_collision_ext.h"
7575#include "pl_bvh_ext.h"
76- #include "pl_shader_tools_ext .h"
76+ #include "pl_shader_variant_ext .h"
7777#include "pl_vfs_ext.h"
7878#include "pl_compress_ext.h"
7979
@@ -112,7 +112,7 @@ const plResourceI* gptResource = NULL;
112112const plStarterI * gptStarter = NULL ;
113113const plAnimationI * gptAnimation = NULL ;
114114const plMeshI * gptMesh = NULL ;
115- const plShaderToolsI * gptShaderTools = NULL ;
115+ const plShaderVariantI * gptShaderVariant = NULL ;
116116const plVfsI * gptVfs = NULL ;
117117const plPakI * gptPak = NULL ;
118118const plDateTimeI * gptDateTime = NULL ;
@@ -312,10 +312,10 @@ pl_app_load(plApiRegistryI* ptApiRegistry, plAppData* ptAppData)
312312 // initialize job system
313313 gptJobs -> initialize ((plJobSystemInit ){0 });
314314
315- const plShaderToolsInit tShaderVariantInit = {
315+ const plShaderVariantInit tShaderVariantInit = {
316316 .ptDevice = ptAppData -> ptDevice
317317 };
318- gptShaderTools -> initialize (tShaderVariantInit );
318+ gptShaderVariant -> initialize (tShaderVariantInit );
319319
320320 // setup reference renderer
321321 plRendererSettings tRenderSettings = {
@@ -517,7 +517,7 @@ pl_app_shutdown(plAppData* ptAppData)
517517
518518 gptEcs -> cleanup ();
519519 gptRenderer -> cleanup ();
520- gptShaderTools -> cleanup ();
520+ gptShaderVariant -> cleanup ();
521521 gptStarter -> cleanup ();
522522 gptWindows -> destroy (ptAppData -> ptWindow );
523523
@@ -566,7 +566,7 @@ pl_app_update(plAppData* ptAppData)
566566 }
567567
568568 // update statistics
569- gptShaderTools -> update_stats ();
569+ gptShaderVariant -> update_stats ();
570570
571571 plCamera * ptCamera = (plCamera * )gptEcs -> get_component (ptAppData -> ptComponentLibrary , gptCamera -> get_ecs_type_key (), ptAppData -> tMainCamera );
572572
@@ -925,7 +925,7 @@ pl__load_apis(plApiRegistryI* ptApiRegistry)
925925 gptStarter = pl_get_api_latest (ptApiRegistry , plStarterI );
926926 gptAnimation = pl_get_api_latest (ptApiRegistry , plAnimationI );
927927 gptMesh = pl_get_api_latest (ptApiRegistry , plMeshI );
928- gptShaderTools = pl_get_api_latest (ptApiRegistry , plShaderToolsI );
928+ gptShaderVariant = pl_get_api_latest (ptApiRegistry , plShaderVariantI );
929929 gptVfs = pl_get_api_latest (ptApiRegistry , plVfsI );
930930 gptPak = pl_get_api_latest (ptApiRegistry , plPakI );
931931 gptDateTime = pl_get_api_latest (ptApiRegistry , plDateTimeI );
0 commit comments