Skip to content

0.2.0

Compare
Choose a tag to compare
@kraifpatrik kraifpatrik released this 26 Jun 20:52
· 6 commits to main since this release

Changelog:

  • Added new function d3d11_cbuffer_add_bool(_count), which adds a bool into a constant buffer that is currently being built.
  • Added new function d3d11_cbuffer_add_float(_count), which adds a float into a constant buffer that is currently being built.
  • Added new function d3d11_cbuffer_add_int(_count), which adds an int into a constant buffer that is currently being built.
  • Added new function d3d11_cbuffer_add_uint(_count), which adds an uint into a constant buffer that is currently being built.
  • Added new function d3d11_cbuffer_begin(), which starts building a constant buffer.
  • Added new function d3d11_cbuffer_destroy(_cbuffer), which destroys a constant buffer.
  • Added new function d3d11_cbuffer_end(), which finishes building a constant buffer.
  • Added new function d3d11_cbuffer_exists(_cbuffer), which checks whether a constant buffer exists.
  • Added new function d3d11_cbuffer_get_size(_cbuffer), which retrieves size of a constant buffer in bytes.
  • Added new function d3d11_cbuffer_update(_cbuffer, _buffer), which updates data of a constant buffer.
  • Added new function d3d11_get_error_string(), which retrieves the last error message.
  • Added new function d3d11_shader_compile_ps(_file, _entryPoint, _profile), which compiles a pixel shader from file.
  • Added new function d3d11_shader_compile_vs(_file, _entryPoint, _profile), which compiles a vertex shader from file.
  • Added new function d3d11_shader_destroy_ps(_ps), which destroys a pixel shader.
  • Added new function d3d11_shader_destroy_vs(_vs), which destroys a vertex shader.
  • Added new function d3d11_shader_exists_ps(_ps), which checks whether a pixel shader exists.
  • Added new function d3d11_shader_exists_vs(_vs), which checks whether a vertex shader exists.
  • Added new function d3d11_shader_override_ps(_ps), which hooks into ID3D11DeviceContext::Draw and replaces the current pixel shader with a custom one.
  • Added new function d3d11_shader_override_vs(_vs), which hooks into ID3D11DeviceContext::Draw and replaces the current vertex shader with a custom one.
  • Added new function d3d11_shader_set_cbuffer_ps(_slot, _cbuffer), which binds a constant buffer to a pixel shader.
  • Added new function d3d11_shader_set_cbuffer_vs(_slot, _cbuffer), which binds a constant buffer to a vertex shader.