コード例 #1
0
 /// <summary>
 ///   Initializes a new instance of the <see cref = "T:SharpDX.Direct3D11.Texture3D1" /> class.
 /// </summary>
 /// <param name = "device">The device with which to associate the texture.</param>
 /// <param name = "description">The description of the texture.</param>
 /// <param name = "data">An array of initial texture data for each subresource.</param>
 public Texture3D1(Device3 device, Texture3DDescription1 description, DataBox[] data) : base(IntPtr.Zero)
 {
     device.CreateTexture3D1(ref description, data, this);
 }
コード例 #2
0
ファイル: Texture3D1.cs プロジェクト: JoeErickson/SharpDX
 /// <summary>
 ///   Initializes a new instance of the <see cref = "T:SharpDX.Direct3D11.Texture3D1" /> class.
 /// </summary>
 /// <param name = "device">The device with which to associate the texture.</param>
 /// <param name = "description">The description of the texture.</param>
 /// <param name = "data">An array of initial texture data for each subresource.</param>
 public Texture3D1(Device3 device, Texture3DDescription1 description, DataBox[] data) : base(IntPtr.Zero)
 {
     device.CreateTexture3D1(ref description, data, this);
 }
コード例 #3
0
 /// <summary>
 ///   Initializes a new instance of the <see cref = "T:SharpDX.Direct3D11.Texture3D1" /> class.
 /// </summary>
 /// <param name = "device">The device with which to associate the texture.</param>
 /// <param name = "description">The description of the texture.</param>
 public Texture3D1(Device3 device, Texture3DDescription1 description)
     : base(IntPtr.Zero)
 {
     device.CreateTexture3D1(ref description, null, this);
 }
コード例 #4
0
ファイル: Texture3D1.cs プロジェクト: JoeErickson/SharpDX
 /// <summary>
 ///   Initializes a new instance of the <see cref = "T:SharpDX.Direct3D11.Texture3D1" /> class.
 /// </summary>
 /// <param name = "device">The device with which to associate the texture.</param>
 /// <param name = "description">The description of the texture.</param>
 public Texture3D1(Device3 device, Texture3DDescription1 description)
     : base(IntPtr.Zero)
 {
     device.CreateTexture3D1(ref description, null, this);
 }