I have a std::vector for constantbuffer.
Its contains data such as 4x4 matrices, floats, etc. for constant buffer, I don't want to do this in a static way (like creating XXXStruct), i wanna in a dynamic way, in fact I don't want the user to be able to send his own constant buffer datas.
How can I send this data dynamically without creating a special struct for that buffer?
or just pass std::vector.data() to constant buffer?
for dynamic data im storing vector to std::variant type