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

            ret = ((delegate * unmanaged[Cdecl] < ID3D12ShaderReflection *, Silk.NET.Core.Native.D3DFeatureLevel *, int >)LpVtbl[19])(@this, pLevel);
            return(ret);
        }
Пример #2
0
        public FeatureDataFeatureLevels
        (
            uint?numFeatureLevels = null,
            Silk.NET.Core.Native.D3DFeatureLevel *pFeatureLevelsRequested = null,
            Silk.NET.Core.Native.D3DFeatureLevel?maxSupportedFeatureLevel = null
        ) : this()
        {
            if (numFeatureLevels is not null)
            {
                NumFeatureLevels = numFeatureLevels.Value;
            }

            if (pFeatureLevelsRequested is not null)
            {
                PFeatureLevelsRequested = pFeatureLevelsRequested;
            }

            if (maxSupportedFeatureLevel is not null)
            {
                MaxSupportedFeatureLevel = maxSupportedFeatureLevel.Value;
            }
        }