Simple question, I’ve looked through many resources and haven’t found much regarding the
vector_uchar type, especially as it pertains to this, when deleting vertex data:
set_subdata(int a, int b, vector_uchar const &data)
In python, the last argument would just be an empty byte-string, but in C++ it’s specified as a vector of unsigned chars. Trying to use vector functions like
push_back yields errors too:
error C2663: 'std::vector<unsigned char,pallocator_array<unsigned char>>::push_back': 2 overloads have no legal conversion for 'this' pointer
So how would one use the
vector_uchar type, to achieve the same effect an empty byte-string does in Python, i.e. delete vertex data for instance? What would I pass in as the third argument in C++?
Thanks in advance.