private IRenderableTexture GetTexture(string mappingName, DeviceContextHolder contextHolder) { var mapping = _kn5Material?.GetMappingByName(mappingName); return mapping == null || _kn5Filename == null ? null : contextHolder.Get<TexturesProvider>().GetTexture(_kn5Filename, mapping.Texture, contextHolder); }