Changelog:
- Replaced functions
d3d11_shader_exists_ps/vs
,d3d11_shader_destroy_ps/vs
with justd3d11_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.