-
-
Notifications
You must be signed in to change notification settings - Fork 431
DirectX bindings #310
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
DirectX bindings #310
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Imo Core should generate as little stuff specific to one thing as possible, and no generated code at all. Not sure why all these D3D types are in Core now.
Also , I can't be bothered to review the 1400 generated files.
public struct TagRect | ||
{ | ||
public long Left, Top, Right, Bottom; | ||
} | ||
|
||
public struct TagPoint | ||
{ | ||
public long X, Y; | ||
} | ||
|
||
public struct TagSize | ||
{ | ||
public long Width, Height; | ||
} | ||
|
||
public struct TagPaletteEntry | ||
{ | ||
public byte PeRed; | ||
public byte PeGreen; | ||
public byte PeBlue; | ||
public byte PeFlags; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to replace with Rectangle<long>
, Vector2<long>
, Vector2<long>
and Vector4<byte>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
Co-authored-by: Kai Jellinghaus <[email protected]>
* Add args and be more tolerant of failures * Initial bindings with no COM, initial COM support in BuildTools * Complete Direct3D 11 and DXGI bindings * Start D3D12 work, move D3DCommon into Silk.NET.Core * Add d3d11shader.h, BuildTools bug fixes * Finish D3D12 bindings, add ComPtr & ComObject * Direct3D 9 Bindings * DXC and D3DCompiler bindings * Push (disabled) config for Direct2D * NUKE fixes * Continued * Binder improvements * More COM-related improvements * Revert SDL generator overwrite * Add XInput and XAudio * Finishing touches * Update src/Microsoft/Silk.NET.DXGI/DXGILibraryNameContainer.cs Co-authored-by: Kai Jellinghaus <[email protected]> * GUIDs * Remove ZeroStart now it's no longer used Co-authored-by: Kai Jellinghaus <[email protected]>
Summary of the PR
Adds bindings to various DirectX/Windows APIs.
Related issues, Discord discussions, or proposals
#48
Further Comments
Because the JVM was being a big meanie.