Skip to content

win32.d3d11 more bindings (2) #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 9, 2022
Merged

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