Ejemplo n.º 1
0
        private void InitializeFeatures()
        {
            FeatureLevel = D3D12Device.CheckMaxSupportedFeatureLevel();

            var adapterDesc = DXGIAdapter.Description1;

            Info.Backend     = GraphicsBackend.Direct3D12;
            Info.BackendName = "Direct3D12 - Level " + FeatureLevel.GetFeatureLevelToVersion();
            Info.DeviceName  = adapterDesc.Description;
            Info.VendorId    = adapterDesc.VendorId;

            Log.Debug($"Direct3D Adapter: VID:{adapterDesc.VendorId}, PID:{adapterDesc.DeviceId} - {adapterDesc.Description}");

            //Device.CheckFeatureSupport(Feature.D3D12Options1, ref waveIntrinsicsSupport);
            var HighestRootSignatureVersion = D3D12Device.CheckHighestRootSignatureVersion(RootSignatureVersion.Version11);
        }