Allow passing buffer to serializers that support it

This commit is contained in:
Thomas Krijnen
2026-05-09 21:03:15 +02:00
parent 0d8e9f0edc
commit 2eb2d65710
7 changed files with 88 additions and 2 deletions
@@ -54,6 +54,8 @@ struct SERIALIZERS_API geometry_serializer_context {
std::string output_temp_filename;
ifcopenshell::geometry::Settings& geometry_settings;
const ifcopenshell::geometry::SerializerSettings& serializer_settings;
const stream_or_filename* output_stream = nullptr;
const stream_or_filename* output_temp_stream = nullptr;
};
class SERIALIZERS_API geometry_serializer_registry {