X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fdirect3d9%2FDeviceEx.h;fp=SlimDXc_Jun2010%28VC%2B%2B2008%29%2Fsource%2Fdirect3d9%2FDeviceEx.h;h=0000000000000000000000000000000000000000;hb=d3453b257c2faf4db202d38666a872929ff220cd;hp=9567c5a178bcde47a7fd96fee47c2437149c7e47;hpb=1c2eac207d4963c6bc170b3f7fbe0feeffcd17e0;p=dtxmania%2Fdtxmania.git
diff --git a/SlimDXc_Jun2010(VC++2008)/source/direct3d9/DeviceEx.h b/SlimDXc_Jun2010(VC++2008)/source/direct3d9/DeviceEx.h
deleted file mode 100644
index 9567c5a1..00000000
--- a/SlimDXc_Jun2010(VC++2008)/source/direct3d9/DeviceEx.h
+++ /dev/null
@@ -1,218 +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 "Device.h"
-
-#include "Direct3DEx.h"
-#include "DisplayModeEx.h"
-
-using System::Runtime::InteropServices::OutAttribute;
-
-namespace SlimDX
-{
- namespace Direct3D9
- {
-#ifdef XMLDOCS
- ref class ResultCode;
-#endif
-
- public enum class DeviceState : System::Int32
- {
- Ok = D3D_OK,
- DeviceLost = D3DERR_DEVICELOST,
- DeviceHung = D3DERR_DEVICEHUNG,
- DeviceRemoved = D3DERR_DEVICEREMOVED,
- OutOfVideoMemory = D3DERR_OUTOFVIDEOMEMORY,
- PresentModeChanged = S_PRESENT_MODE_CHANGED,
- PresentOccluded = S_PRESENT_OCCLUDED
- };
-
- public enum class ResourceResidency : System::Int32
- {
- Resident = S_OK,
- ResidentInSharedMemory = S_RESIDENT_IN_SHARED_MEMORY,
- NotResident = S_NOT_RESIDENT
- };
-
- ref class Resource;
-
- ///
- /// Applications use the methods of DeviceEx to render primitives, create resources, work with
- /// system-level variables, adjust gamma ramp levels, work with palettes, and create shaders.
- ///
- /// IDirect3DDevice9Ex
- public ref class DeviceEx : Device
- {
- COMOBJECT(IDirect3DDevice9Ex, DeviceEx);
-
- private:
- void Internal_Constructor( Direct3DEx^ direct3D, int adapter, DeviceType deviceType, System::IntPtr controlHandle,
- CreateFlags createFlags, D3DDISPLAYMODEEX* fullscreenDisplayMode, ... array^ presentParameters );
-
- public:
- ///
- /// Initializes a new instance of the class.
- ///
- /// The Direct3DEx instance to create the device from.
- /// Ordinal number that denotes the display adapter.
- /// Denotes the desired device type. If the desired device type is not available, device creation will fail.
- /// Specifies the target window for Direct3D rendering.
- /// Combination of one or more options that control device creation.
- /// Describes the presentation parameters for the device being created.
- DeviceEx( Direct3DEx^ direct3D, int adapter, DeviceType deviceType, System::IntPtr controlHandle,
- CreateFlags createFlags, PresentParameters^ presentParameters );
-
- ///
- /// Initializes a new instance of the class.
- ///
- /// The Direct3D instance to create the device from.
- /// Ordinal number that denotes the display adapter.
- /// Denotes the desired device type. If the desired device type is not available, device creation will fail.
- /// Specifies the target window for Direct3D rendering.
- /// Combination of one or more options that control device creation.
- /// Describes the presentation parameters for the device being created.
- /// The display mode for when the device is set to fullscreen.
- DeviceEx( Direct3DEx^ direct3D, int adapter, DeviceType deviceType, System::IntPtr controlHandle,
- CreateFlags createFlags, PresentParameters^ presentParameters, DisplayModeEx fullScreenDisplayMode );
-
- ///
- /// Initializes a new instance of the class.
- ///
- /// The Direct3DEx instance to create the device from.
- /// Ordinal number that denotes the display adapter.
- /// Denotes the desired device type. If the desired device type is not available, device creation will fail.
- /// Specifies the target window for Direct3D rendering.
- /// Combination of one or more options that control device creation.
- /// Describes the presentation parameters for the device being created.
- DeviceEx( Direct3DEx^ direct3D, int adapter, DeviceType deviceType, System::IntPtr controlHandle,
- CreateFlags createFlags, array^ presentParameters );
-
- ///
- /// Initializes a new instance of the class.
- ///
- /// The Direct3D instance to create the device from.
- /// Ordinal number that denotes the display adapter.
- /// Denotes the desired device type. If the desired device type is not available, device creation will fail.
- /// Specifies the target window for Direct3D rendering.
- /// Combination of one or more options that control device creation.
- /// Describes the presentation parameters for the device being created.
- /// The display mode for when the device is set to fullscreen.
- DeviceEx( Direct3DEx^ direct3D, int adapter, DeviceType deviceType, System::IntPtr controlHandle,
- CreateFlags createFlags, array^ presentParameters, array^ fullScreenDisplayMode );
-
- property int GpuThreadPriority
- {
- int get();
- void set( int priority );
- };
-
- property int MaximumFrameLatency
- {
- int get();
- void set( int maxLatency );
- };
-
- ///
- /// Reports the current cooperative-level status of the Direct3D device for a windowed or full-screen application.
- ///
- /// The destination window handle to check for occlusion. This parameter may be IntPtr.Zero
- /// The current status of this device.
- /// This method replaces the .TestCooperativeLevel function,
- /// which always returns .Success in Direct3D 9Ex applications.
- /// IDirect3DDevice9Ex::CheckDeviceState
- DeviceState CheckDeviceState( System::IntPtr windowHandle );
-
- ///
- /// Checks a resource to determine if it is likely that it will cause a large stall at
- /// Draw time because the system must make the resource GPU-accessible.
- ///
- /// An resource to check the residency status of.
- /// See the DirectX documentation.
- /// See the DirectX documentation.
- /// IDirect3DDevice9Ex::CheckResourceResidency
- ResourceResidency CheckResourceResidency( Resource^ resource );
-
- ///
- /// Checks an array of resources to determine if it is likely that they will cause a large stall at
- /// Draw time because the system must make the resources GPU-accessible.
- ///
- /// An array of resources to check the residency status of.
- /// See the DirectX documentation.
- /// See the DirectX documentation.
- /// IDirect3DDevice9Ex::CheckResourceResidency
- ResourceResidency CheckResourceResidency( array^ resources );
-
- ///
- /// Retrieves the display mode's spatial resolution, color resolution, and refresh frequency.
- ///
- /// The swap chain to retrieve display mode data about.
- /// Extended display mode information about the adapter.
- /// IDirect3DDevice9Ex::GetDisplayModeEx
- DisplayModeEx GetDisplayModeEx( int swapChain );
-
- ///
- /// Retrieves the display mode's spatial resolution, color resolution, refresh frequency, and rotation settings.
- ///
- /// The swap chain to retrieve display mode data about.
- /// Receives the rotation setting of the adapter.
- /// Extended display mode information about the adapter.
- /// IDirect3DDevice9Ex::GetDisplayModeEx
- DisplayModeEx GetDisplayModeEx( int swapChain, [Out] DisplayRotation% rotation );
-
- Result PresentEx( SlimDX::Direct3D9::Present flags );
- Result PresentEx( SlimDX::Direct3D9::Present flags, System::Drawing::Rectangle sourceRectangle, System::Drawing::Rectangle destinationRectangle );
- Result PresentEx( SlimDX::Direct3D9::Present flags, System::Drawing::Rectangle sourceRectangle, System::Drawing::Rectangle destinationRectangle, System::IntPtr windowOverride );
- Result PresentEx( SlimDX::Direct3D9::Present flags, System::Drawing::Rectangle sourceRectangle, System::Drawing::Rectangle destinationRectangle, System::IntPtr windowOverride, System::Drawing::Region^ region );
-
- ///
- /// Resets the device.
- ///
- /// A set of new presentation parameters to apply to the device.
- /// A Object describing the result of the operation.
- /// IDirect3DDevice9Ex::ResetEx
- Result ResetEx( PresentParameters^ presentParameters );
-
- ///
- /// Resets the device.
- ///
- /// A set of new presentation parameters to apply to the device.
- /// The properties of the desired display mode, when running fullscreen.
- /// A Object describing the result of the operation.
- /// IDirect3DDevice9Ex::ResetEx
- Result ResetEx( PresentParameters^ presentParameters, DisplayModeEx fullScreenDisplayMode );
-
- ///
- /// Suspend execution of the calling thread until the next vertical blank signal.
- ///
- /// Zero based swap chain index to specify the target chain on a multihead card.
- /// IDirect3DDevice9Ex::WaitForVBlank
- void WaitForVBlank( int swapChain );
-
- Result SetConvolutionMonoKernel(int width, int height, array^ rowWeights, array^ columnWeights);
- Result ComposeRects(Surface^ source, Surface^ destination, int rectangleCount, VertexBuffer^ sourceRectangleDescriptors, VertexBuffer^ destinationRectangleDescriptors, ComposeRectOperation operation, int xOffset, int yOffset);
-
- literal int ConvolutionMaxWidth = D3DCONVOLUTIONMONO_MAXWIDTH;
- literal int ConvolutionMaxHeight = D3DCONVOLUTIONMONO_MAXHEIGHT;
- };
- }
-}
\ No newline at end of file