//Function public RenderWorld(string InName) { name = InName; ActiveWorld = this; WorldMeshList = new SharedRefFactory <Mesh>(128); WorldMaterialList = new SharedRefFactory <Material>(128); WorldViewList = new List <CameraComponent>(16); WorldLightList = new List <LightComponent>(32); WorldPrimitiveList = new List <MeshComponent>(128); MeshBatchCollector = new FMeshBatchCollector(); }