/// <summary> /// Converts a <see cref="Geometry"/> to a <see cref="GeometryInformation"/> /// </summary> /// <param name="geometry"></param> /// <returns></returns> public static GeometryInformation ToGeometryInformation(this Geometry geometry) { return(AssetConverter.ExtractInformation(geometry)); }
/// <summary> /// Converts a texture to a TextureInformation /// </summary> /// <param name="texture"></param> /// <returns></returns> public static TextureInformation ToTextureInformation(this Texture texture) { return(AssetConverter.ExtractInformation(texture)); }