MCPcopy Create free account
hub / github.com/crownengine/crown / clear_metadata_cache

Function clear_metadata_cache

src/resource/shader_resource.cpp:2994–3005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2992 using namespace shader_resource_internal;
2993
2994 void clear_metadata_cache()
2995 {
2996 if (s_metadata_cache != NULL) {
2997 CE_DELETE(default_allocator(), s_metadata_cache);
2998 s_metadata_cache = NULL;
2999 }
3000
3001 if (s_shader_library_cache != NULL) {
3002 CE_DELETE(default_allocator(), s_shader_library_cache);
3003 s_shader_library_cache = NULL;
3004 }
3005 }
3006
3007 s32 compile_variant(FileBuffer &fb
3008 , Vector<UniformMetadata> *uniform_meta

Callers 1

compileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected