protected 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); }