Uh oh!
There was an error while loading. Please reload this page.
DirectX bindings - #310
Conversation
Perksey
commented
Nov 20, 2020
|
HurricanKai
left a comment
There was a problem hiding this comment.
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.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| 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.
Remember to replace with Rectangle<long>, Vector2<long>, Vector2<long> and Vector4<byte>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Kai Jellinghaus <kai.jellinghaus1@gmail.com>
* 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 <kai.jellinghaus1@gmail.com> * GUIDs * Remove ZeroStart now it's no longer used Co-authored-by: Kai Jellinghaus <kai.jellinghaus1@gmail.com>
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.