@@ -24,24 +24,6 @@ ResourceLoader::~ResourceLoader() {
24
24
}
25
25
26
26
void ResourceLoader::RegisterGlobalResourceFactories () {
27
- RegisterResourceFactory (std::make_shared<LUS::ResourceFactoryBinaryTextureV0>(), RESOURCE_FORMAT_BINARY, " Texture" ,
28
- static_cast <uint32_t >(LUS::ResourceType::Texture), 0 );
29
- RegisterResourceFactory (std::make_shared<LUS::ResourceFactoryBinaryTextureV1>(), RESOURCE_FORMAT_BINARY, " Texture" ,
30
- static_cast <uint32_t >(LUS::ResourceType::Texture), 1 );
31
- RegisterResourceFactory (std::make_shared<LUS::ResourceFactoryBinaryVertexV0>(), RESOURCE_FORMAT_BINARY, " Vertex" ,
32
- static_cast <uint32_t >(LUS::ResourceType::Vertex), 0 );
33
- RegisterResourceFactory (std::make_shared<LUS::ResourceFactoryXMLVertexV0>(), RESOURCE_FORMAT_XML, " Vertex" ,
34
- static_cast <uint32_t >(LUS::ResourceType::Vertex), 0 );
35
- RegisterResourceFactory (std::make_shared<LUS::ResourceFactoryBinaryDisplayListV0>(), RESOURCE_FORMAT_BINARY,
36
- " DisplayList" , static_cast <uint32_t >(LUS::ResourceType::DisplayList), 0 );
37
- RegisterResourceFactory (std::make_shared<LUS::ResourceFactoryXMLDisplayListV0>(), RESOURCE_FORMAT_XML,
38
- " DisplayList" , static_cast <uint32_t >(LUS::ResourceType::DisplayList), 0 );
39
- RegisterResourceFactory (std::make_shared<LUS::ResourceFactoryBinaryMatrixV0>(), RESOURCE_FORMAT_BINARY, " Matrix" ,
40
- static_cast <uint32_t >(LUS::ResourceType::Matrix), 0 );
41
- RegisterResourceFactory (std::make_shared<LUS::ResourceFactoryBinaryArrayV0>(), RESOURCE_FORMAT_BINARY, " Array" ,
42
- static_cast <uint32_t >(LUS::ResourceType::Array), 0 );
43
- RegisterResourceFactory (std::make_shared<LUS::ResourceFactoryBinaryBlobV0>(), RESOURCE_FORMAT_BINARY, " Blob" ,
44
- static_cast <uint32_t >(LUS::ResourceType::Blob), 0 );
45
27
RegisterResourceFactory (std::make_shared<Ship::ResourceFactoryBinaryJsonV0>(), RESOURCE_FORMAT_BINARY, " Json" ,
46
28
static_cast <uint32_t >(Ship::ResourceType::Json), 0 );
47
29
}
0 commit comments