Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

hazeycode
Copy link
Member

@hazeycode hazeycode commented Feb 9, 2022

adds d3d11 bindings relating to:

  • binding shaders
  • binding input layouts
  • mapping/unmapping buffers
  • setting render targets
  • setting rasterizer state
  • issueing draw calls

adds d3d11 bindings relating to:
- binding shaders
- binding input layouts
- mapping/unmapping buffers
- setting render targets
- setting rasterizer state
@michal-z michal-z merged commit 59c921c into zig-gamedev:main Feb 9, 2022
@michal-z
Copy link
Collaborator

michal-z commented Feb 9, 2022

@hazeycode Just noticed that we could use PRIMITIVE_TOPOLOGY from d3dcommon.zig, right?

@hazeycode
Copy link
Member Author

hazeycode commented Feb 9, 2022

@michal-z you're correct. I missed this remark in the d3d11 docs:

The D3D11_PRIMITIVE_TOPOLOGY enumeration is type defined in the D3D11.h header file as a D3D_PRIMITIVE_TOPOLOGY enumeration, which is fully defined in the D3DCommon.h header file.

I can fix this up in the next round of bindings?

@michal-z
Copy link
Collaborator

michal-z commented Feb 9, 2022

Yes please, and thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants