OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / direct3d9 / Resource.h
diff --git a/SlimDXc_Jun2010(VC++2008)/source/direct3d9/Resource.h b/SlimDXc_Jun2010(VC++2008)/source/direct3d9/Resource.h
deleted file mode 100644 (file)
index de2a902..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-/*\r
-* Copyright (c) 2007-2010 SlimDX Group\r
-* \r
-* Permission is hereby granted, free of charge, to any person obtaining a copy\r
-* of this software and associated documentation files (the "Software"), to deal\r
-* in the Software without restriction, including without limitation the rights\r
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
-* copies of the Software, and to permit persons to whom the Software is\r
-* furnished to do so, subject to the following conditions:\r
-* \r
-* The above copyright notice and this permission notice shall be included in\r
-* all copies or substantial portions of the Software.\r
-* \r
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
-* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
-* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
-* THE SOFTWARE.\r
-*/\r
-#pragma once\r
-\r
-#include "../ComObject.h"\r
-\r
-#include "Enums.h"\r
-\r
-namespace SlimDX\r
-{\r
-       namespace Direct3D9\r
-       {\r
-               ref class Device;\r
-               \r
-               /// <summary>Represents a base class for all Direct3D resources.</summary>\r
-               /// <unmanaged>IDirect3DResource9</unmanaged>\r
-               public ref class Resource abstract : public ComObject\r
-               {\r
-                       COMOBJECT_BASE(IDirect3DResource9);\r
-\r
-               protected:\r
-                       /// <summary>\r
-                       /// Initializes a new instance of the <see cref="Resource"/> class.\r
-                       /// </summary>\r
-                       Resource() { }\r
-\r
-               public:\r
-                       static Resource^ FromPointer( System::IntPtr pointer );\r
-\r
-                       /// <summary>\r
-                       /// Preloads a managed resource.\r
-                       /// </summary>\r
-                       void Preload();\r
-\r
-                       /// <summary>\r
-                       /// The resource has the lowest priority possible.\r
-                       /// </summary>\r
-                       literal int PriorityMinimum = D3D9_RESOURCE_PRIORITY_MINIMUM;\r
-\r
-                       /// <summary>\r
-                       /// The resource is scheduled with low priority.\r
-                       /// </summary>\r
-                       literal int PriorityLow = D3D9_RESOURCE_PRIORITY_LOW;\r
-\r
-                       /// <summary>\r
-                       /// The resource is scheduled with normal priority.\r
-                       /// </summary>\r
-                       literal int PriorityNormal = D3D9_RESOURCE_PRIORITY_NORMAL;\r
-\r
-                       /// <summary>\r
-                       /// The resource is scheduled with high priority.\r
-                       /// </summary>\r
-                       literal int PriorityHigh = D3D9_RESOURCE_PRIORITY_HIGH;\r
-\r
-                       /// <summary>\r
-                       /// The resource has the maximum priority possible.\r
-                       /// </summary>\r
-                       literal int PriorityMaximum = D3D9_RESOURCE_PRIORITY_MAXIMUM;\r
-\r
-                       /// <summary>\r
-                       /// Gets the device associated with the resource.\r
-                       /// </summary>\r
-                       property SlimDX::Direct3D9::Device^ Device\r
-                       {\r
-                               SlimDX::Direct3D9::Device^ get();\r
-                       }\r
-\r
-                       /// <summary>\r
-                       /// Gets or sets the resource's priority.\r
-                       /// </summary>\r
-                       property int Priority\r
-                       {\r
-                               int get() { return InternalPointer->GetPriority(); }\r
-                               void set(int value) { InternalPointer->SetPriority( value ); }\r
-                       };\r
-               \r
-                       /// <summary>\r
-                       /// Gets the type of the resource.\r
-                       /// </summary>\r
-                       property SlimDX::Direct3D9::ResourceType ResourceType\r
-                       {\r
-                               SlimDX::Direct3D9::ResourceType get() { return ( SlimDX::Direct3D9::ResourceType ) InternalPointer->GetType(); }\r
-                       }\r
-               };\r
-       }\r
-}\r