8 image->FlipVertically();
9 const Params params { .m_HasSemiTransparency = image->HasSemiTransparency() };
10 return Create(image->GetPixelData(), image->GetWidth(), image->GetHeight(), params);
static std::shared_ptr< Texture2D > Create(const std::shared_ptr< Image > &image)
Creates a Texture2D from the Image.
Params to use when creating a texture.