aconstlink / natus

[Discontinued] Software Framework for Audio/Visual/Interactive Real-Time Applications
https://aconstlink.de
MIT License
0 stars 0 forks source link

Refactor Vertex/Index Buffer #229

Open aconstlink opened 3 years ago

aconstlink commented 3 years ago

Requires Evaluation: Vertex and Index Buffer could just be implemented as a data buffer where the geometry_obeject is holding vertex/index buffer specific data.

There will be no other instance holding vertex/index data except the geometry object. If data is streamed out of some shader stage, the data is totally generic and has no particular format except the one output by the shader. The input stage is responsible for specifying the format.