/// <summary>To be documented.</summary>
        public readonly int GetMinFeatureLevel(ref Silk.NET.Core.Native.D3DFeatureLevel pLevel)
        {
            var @this = (ID3D12ShaderReflection *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(Silk.NET.Core.Native.D3DFeatureLevel *pLevelPtr = &pLevel)
            {
                ret = ((delegate * unmanaged[Cdecl] < ID3D12ShaderReflection *, Silk.NET.Core.Native.D3DFeatureLevel *, int >)LpVtbl[19])(@this, pLevelPtr);
            }

            return(ret);
        }
Example #2
0
 public unsafe partial int CreateDevice(ref Silk.NET.Core.Native.IUnknown pAdapter, Silk.NET.Core.Native.D3DFeatureLevel MinimumFeatureLevel, ref Guid riid, ref void *ppDevice);
Example #3
0
 public static unsafe int CreateDevice(this D3D12 thisApi, Span <Silk.NET.Core.Native.IUnknown> pAdapter, Silk.NET.Core.Native.D3DFeatureLevel MinimumFeatureLevel, Span <Guid> riid, ref void *ppDevice)
 {
     // SpanOverloader
     return(thisApi.CreateDevice(ref pAdapter.GetPinnableReference(), MinimumFeatureLevel, ref riid.GetPinnableReference(), ref ppDevice));
 }
Example #4
0
 public unsafe partial int CreateDevice(Silk.NET.Core.Native.IUnknown *pAdapter, Silk.NET.Core.Native.D3DFeatureLevel MinimumFeatureLevel, Guid *riid, void **ppDevice);