Skip to content

Mesh attributes for types with memory allocation #130

Answered by BrunoLevy
sebmestrallet asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, I confirm that attributes for types that are not POD (Plain Ordinary Datatype) is not supported.

It used to be supported in the past, but it introduces much complexity in the system, and significant runtime cost, so we decided to remove it.

One possibility is to store indices in the attribute, and store the std::strings in a vector elsewhere.

I fixed the sentence in the documentation

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@sebmestrallet
Comment options

@BrunoLevy
Comment options

Answer selected by BrunoLevy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants