Class AbstractImporter#

Inheritance Relationships#

Derived Type#

Class Documentation#

class AbstractImporter#

Interface for importing Scene assets.

See Scene layer for more discussion on the scene layer.

Subclassed by Karana::Scene::AssimpImporter

Public Functions

virtual ~AbstractImporter()#
virtual ImportResult importFrom(const std::filesystem::path &filename, bool is_convex = false) = 0#

Import geometry, material, and scene data from a file.

Parameters:
  • filename – The file to import

  • is_convex – Whether the file’s shapes are all convex

Returns:

The imported data