Skip to content

0.3.0

Latest
Compare
Choose a tag to compare
@kraifpatrik kraifpatrik released this 28 Jun 18:33
· 2 commits to main since this release

Changelog:

  • Replaced functions d3d11_shader_exists_ps/vs, d3d11_shader_destroy_ps/vs with just d3d11_shader_exists, d3d11_shader_destroy, which work for both types of shaders.
  • Added new function d3d11_draw_instanced(_count), which configures the number of instances to draw the next time a vertex buffer is submitted. After that the number is reset back to 0!
  • Added new function vertex_submit_instanced(_vbuff, _prim, _texture, _count), which draws multiple instances of a vertex buffer.
  • Fixed "command" buffer instead of "constant" in docs.