BartSiwek / Gris

Small graphics engine to try stuff out
MIT License
0 stars 0 forks source link

Change most of the objects in graphics to use the builder pattern #6

Open BartSiwek opened 3 years ago

BartSiwek commented 3 years ago

Allows for default construction, which in turn allows for removal of unique_ptr wrappers. Arguments can be passed one at the time instead in constructor. Seems to go well with framegraph idea. More flexible than a million constructors.

BartSiwek commented 3 years ago

Inspiration https://github.com/charles-lunarg/vk-bootstrap.