X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fdirect3d10%2FDevice10_1.h;fp=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fdirect3d10%2FDevice10_1.h;h=0000000000000000000000000000000000000000;hb=d3453b257c2faf4db202d38666a872929ff220cd;hp=0e2a9581f46c2f7198e083952acd6b744acc12b9;hpb=1c2eac207d4963c6bc170b3f7fbe0feeffcd17e0;p=dtxmania%2Fdtxmania.git diff --git a/SlimDXc_Jun2010(VC++2008)/source/direct3d10/Device10_1.h b/SlimDXc_Jun2010(VC++2008)/source/direct3d10/Device10_1.h deleted file mode 100644 index 0e2a9581..00000000 --- a/SlimDXc_Jun2010(VC++2008)/source/direct3d10/Device10_1.h +++ /dev/null @@ -1,80 +0,0 @@ -/* -* Copyright (c) 2007-2010 SlimDX Group -* -* Permission is hereby granted, free of charge, to any person obtaining a copy -* of this software and associated documentation files (the "Software"), to deal -* in the Software without restriction, including without limitation the rights -* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -* copies of the Software, and to permit persons to whom the Software is -* furnished to do so, subject to the following conditions: -* -* The above copyright notice and this permission notice shall be included in -* all copies or substantial portions of the Software. -* -* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -* THE SOFTWARE. -*/ -#pragma once - -#include "Device10.h" -#include "Enums10_1.h" - -namespace SlimDX -{ - namespace Direct3D10_1 - { - /// - /// A virtual adapter for performing rendering operations, using Direct3D 10.1. - /// - /// ID3D10Device1 - public ref class Device1 : SlimDX::Direct3D10::Device - { - COMOBJECT_CUSTOM(ID3D10Device1, Device1); - - public: - property SlimDX::Direct3D10_1::FeatureLevel FeatureLevel - { - SlimDX::Direct3D10_1::FeatureLevel get(); - } - - /// - /// Constructs a new Device1 object. - /// - /// Flags that indicate which device API layers to enable. - /// D - Device1( SlimDX::Direct3D10::DeviceCreationFlags flags, SlimDX::Direct3D10_1::FeatureLevel hardwareLevel ); - - /// - /// Constructs a new Device1 object. - /// - /// The device driver type. - /// Flags that indicate which device API layers to enable. - Device1( SlimDX::Direct3D10::DriverType driverType, SlimDX::Direct3D10::DeviceCreationFlags flags, SlimDX::Direct3D10_1::FeatureLevel hardwareLevel ); - - /// - /// Constructs a new Device object. - /// - /// The display adapter to associate the device with when creating a hardware device. - /// The device driver type. - /// Flags that indicate which device API layers to enable. - Device1( SlimDX::DXGI::Adapter^ adapter, SlimDX::Direct3D10::DriverType driverType, SlimDX::Direct3D10::DeviceCreationFlags flags, SlimDX::Direct3D10_1::FeatureLevel hardwareLevel ); - - /// - /// Creates a new Direct3D 10.1 device and swap chain. - /// - /// The display adapter to associate the device with when creating a hardware device. - /// The device driver type. - /// Flags that indicate which device API layers to enable. - /// Swap chain properties. - /// The newly-created device. - /// The newly-created swap chain. - /// A result code. - static Result CreateWithSwapChain( SlimDX::DXGI::Adapter^ adapter, SlimDX::Direct3D10::DriverType driverType, SlimDX::Direct3D10::DeviceCreationFlags flags, SlimDX::Direct3D10_1::FeatureLevel hardwareLevel, DXGI::SwapChainDescription swapChainDescription, [Out] Device1^ %device, [Out] DXGI::SwapChain^ %swapChain ); - }; - } -}