示例#1
0
        public Importer(GltfContainer container, IResourceLoader loader)
        {
            Container  = container;
            Cache      = new ResourcesCache <int>();
            BufferView = new ResourcesStore(container.Gltf, container.Buffer, loader);

            Nodes     = new NodeImporter(this);
            Meshes    = new MeshImporter(this);
            Materials = new MaterialImporter(this);
            Textures  = new TextureImporter(this);
            Images    = new ImageImporter(this);
        }
示例#2
0
 public abstract IndexedResource <Material> Import(MaterialImporter importer, int matIndex);