OSDN Git Service

Merge branch 'feature/#36529_SlimDXからSharpDXへの移行' into develop
[dtxmania/dtxmania.git] / SlimDXc_Jun2010(VC++2008) / source / direct3d9 / VertexBuffer.h
diff --git a/SlimDXc_Jun2010(VC++2008)/source/direct3d9/VertexBuffer.h b/SlimDXc_Jun2010(VC++2008)/source/direct3d9/VertexBuffer.h
deleted file mode 100644 (file)
index 40a733d..0000000
+++ /dev/null
@@ -1,88 +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 <d3dx9.h>\r
-\r
-#include "Resource.h"\r
-#include "../DataStream.h"\r
-\r
-#include "VertexBufferDescription.h"\r
-\r
-namespace SlimDX\r
-{\r
-       namespace Direct3D9\r
-       {\r
-               /// <summary>Represents a buffer of vertex data.</summary>\r
-               /// <unmanaged href="bb205915">IDirect3DVertexBuffer9</unmanaged>\r
-               public ref class VertexBuffer : public Resource\r
-               {\r
-                       COMOBJECT( IDirect3DVertexBuffer9, VertexBuffer );\r
-\r
-               public:\r
-                       /// <summary>\r
-                       /// Initializes a new instance of the <see cref="VertexBuffer"/> class.\r
-                       /// </summary>\r
-                       /// <param name="device">The device that will be used to create the buffer.</param>\r
-                       /// <param name="sizeInBytes">Size of the buffer, in bytes.</param>\r
-                       /// <param name="usage">The requested usage of the buffer.</param>\r
-                       /// <param name="format">The vertex format of the vertices in the buffer. If set to <see cref="VertexFormat"/>.None, the buffer will be a non-FVF buffer.</param>\r
-                       /// <param name="pool">The memory class into which the resource will be placed.</param>\r
-                       VertexBuffer( SlimDX::Direct3D9::Device^ device, int sizeInBytes, SlimDX::Direct3D9::Usage usage, VertexFormat format, SlimDX::Direct3D9::Pool pool );\r
-\r
-                       /// <summary>\r
-                       /// Initializes a new instance of the <see cref="VertexBuffer"/> class.\r
-                       /// </summary>\r
-                       /// <param name="device">The device that will be used to create the buffer.</param>\r
-                       /// <param name="sizeInBytes">Size of the buffer, in bytes.</param>\r
-                       /// <param name="usage">The requested usage of the buffer.</param>\r
-                       /// <param name="format">The vertex format of the vertices in the buffer. If set to <see cref="VertexFormat"/>.None, the buffer will be a non-FVF buffer.</param>\r
-                       /// <param name="pool">The memory class into which the resource will be placed.</param>\r
-                       /// <param name="sharedHandle">The variable that will receive the shared handle for this resource.</param>\r
-                       /// <remarks>This method is only available in Direct3D9 Ex.</remarks>\r
-                       VertexBuffer( SlimDX::Direct3D9::Device^ device, int sizeInBytes, SlimDX::Direct3D9::Usage usage, VertexFormat format, SlimDX::Direct3D9::Pool pool, [Out] System::IntPtr% sharedHandle );\r
-\r
-                       /// <summary>\r
-                       /// Locks the buffer and obtains a pointer to the memory.\r
-                       /// </summary>\r
-                       /// <param name="offset">Offset into the vertex data to lock, in bytes.</param>\r
-                       /// <param name="size">Size of the vertex data to lock, in bytes.</param>\r
-                       /// <param name="flags">Locking flags.</param>\r
-                       /// <returns>A <see cref="DataStream"/> containing the vertex data.</returns>\r
-                       DataStream^ Lock( int offset, int size, LockFlags flags );\r
-\r
-                       /// <summary>\r
-                       /// Unlocks previously locked data.\r
-                       /// </summary>\r
-                       /// <returns>A <see cref="SlimDX::Result"/> object describing the result of the operation.</returns>\r
-                       Result Unlock();\r
-\r
-                       /// <summary>\r
-                       /// Gets a description of the buffer.\r
-                       /// </summary>\r
-                       property VertexBufferDescription Description\r
-                       {\r
-                               VertexBufferDescription get();\r
-                       }\r
-               };\r
-       }\r
-}\r