Skip to content
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

Silk.NET.Direct3D11.ID3D10Blob Missing Methods #811

Closed
Syncaidius opened this issue Feb 16, 2022 · 2 comments · Fixed by #836
Closed

Silk.NET.Direct3D11.ID3D10Blob Missing Methods #811

Syncaidius opened this issue Feb 16, 2022 · 2 comments · Fixed by #836
Assignees
Labels
area-DirectX/Windows bug Something isn't working
Milestone

Comments

@Syncaidius
Copy link
Contributor

Syncaidius commented Feb 16, 2022

Hi,

The Silk.NET.Direct3D11.ID3D10Blob structure appears to be missing these two methods:

The struct itself contains nothing:
image

EDIT: The workaround for this seems to be to use IDxcBlob for now, as it is an alias of ID3D10Blob. However, I don't think this is a safe workaround given that Microsoft may change IDxcBlob structure/functionality later down the line and diverge from ID3D10Blob.

@Syncaidius Syncaidius changed the title ID3D10Blob Missing Methods Silk.NET.Direct3D11.ID3D10Blob Missing Methods Feb 16, 2022
@Perksey
Copy link
Member

Perksey commented Feb 16, 2022

Hi there. ID3D10Blob is in Silk.NET.Core.Native - unfortunate that it seems to have lit up in D3D11 as well. Will look at removing that as that's a bit of a binding bug.

https://github.com/dotnet/Silk.NET/blob/main/src/Core/Silk.NET.Core/Native/Structs/ID3D10Blob.gen.cs

@Perksey Perksey added area-DirectX/Windows bug Something isn't working labels Feb 16, 2022
@Perksey Perksey self-assigned this Feb 16, 2022
@Perksey Perksey added this to the 2.X milestone Feb 16, 2022
@Syncaidius
Copy link
Contributor Author

Hi Perksey, That's brilliant. Thanks for the really quick response and solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-DirectX/Windows bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants