Silk.NET: Hi, is NV_DX_interop2 missing for WGL.Extensions?

I found Silk.NET.WGL.Extensions.NV.NVDXInterop only, but there is no extension for NV_DX_interop2. or maybe there is, but i missed it? by the way, what does those Overloads mean? for example NVDXInteropOverloads, is this actually the NV_DX_interop2? thank you so much.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Awesome stuff @jcyuan. I had hoped that this is what the LambdaNativeContext is essentially doing, but it looks like for some reason it’s not rolling over to the default context.

The null thing is a big oops, feel free to use unsafe accessors to rectify that:

[UnsafeAccessor(UnsafeAccessorKind.Field, Name = "_extensions")]
extern static ref ConcurrentDictionary<nint, HashSet<string>>? Exts(WGL wgl);

Exts(wgl) = new();

Yes that’s correct.