hanyangl5 / horizon

precompute atmospheric scattering
MIT License
7 stars 1 forks source link

render hardware interface #27

Closed hanyangl5 closed 2 years ago

hanyangl5 commented 2 years ago

To support multiple graphics api, DirectX/OpenGL/Vulkan, we can have a wrapper of api instructions and don't expose them to user. ex: use a function draw() to wrap glDrawArrays, DrawInstanced and vkCmdDrawIndexed.