/// <summary>
 ///   Creates a <see cref = "T:SharpDX.Direct3D10.ShaderResourceView1" /> for accessing resource data.
 /// </summary>
 /// <param name = "device">The device to use when creating this <see cref = "T:SharpDX.Direct3D10.ShaderResourceView1" />.</param>
 /// <param name = "resource">The resource that represents the render-target surface. This surface must have been created with the <see cref = "T:SharpDX.Direct3D10.BindFlags">ShaderResource</see> flag.</param>
 /// <param name = "description">A structure describing the <see cref = "T:SharpDX.Direct3D10.ShaderResourceView1" /> to be created.</param>
 /// <unmanaged>ID3D10Device1::CreateShaderResourceView1</unmanaged>
 public ShaderResourceView1(Device1 device, Resource resource, ShaderResourceViewDescription1 description)
     : base(IntPtr.Zero)
 {
     device.CreateShaderResourceView1(resource, description, this);
 }        
 /// <summary>
 ///   Creates a <see cref = "T:SharpDX.Direct3D10.ShaderResourceView1" /> for accessing resource data.
 /// </summary>
 /// <param name = "device">The device to use when creating this <see cref = "T:SharpDX.Direct3D10.ShaderResourceView1" />.</param>
 /// <param name = "resource">The resource that represents the render-target surface. This surface must have been created with the <see cref = "T:SharpDX.Direct3D10.BindFlags">ShaderResource</see> flag.</param>
 /// <param name = "description">A structure describing the <see cref = "T:SharpDX.Direct3D10.ShaderResourceView1" /> to be created.</param>
 /// <unmanaged>ID3D10Device1::CreateShaderResourceView1</unmanaged>
 public ShaderResourceView1(Device1 device, Resource resource, ShaderResourceViewDescription1 description)
     : base(IntPtr.Zero)
 {
     device.CreateShaderResourceView1(resource, description, this);
 }
 /// <summary>
 ///   Creates a <see cref = "T:SharpDX.Direct3D10.ShaderResourceView1" /> for accessing resource data.
 /// </summary>
 /// <param name = "device">The device to use when creating this <see cref = "T:SharpDX.Direct3D10.ShaderResourceView" />.</param>
 /// <param name = "resource">The resource that represents the render-target surface. This surface must have been created with the <see cref = "T:SharpDX.Direct3D10.BindFlags">ShaderResource</see> flag.</param>
 /// <unmanaged>ID3D10Device1::CreateShaderResourceView1</unmanaged>
 public ShaderResourceView1(Device1 device, Resource resource)
     : base(IntPtr.Zero)
 {
     device.CreateShaderResourceView1(resource, null, this);
 }
 /// <summary>
 ///   Creates a <see cref = "T:SharpDX.Direct3D10.ShaderResourceView1" /> for accessing resource data.
 /// </summary>
 /// <param name = "device">The device to use when creating this <see cref = "T:SharpDX.Direct3D10.ShaderResourceView" />.</param>
 /// <param name = "resource">The resource that represents the render-target surface. This surface must have been created with the <see cref = "T:SharpDX.Direct3D10.BindFlags">ShaderResource</see> flag.</param>
 /// <unmanaged>ID3D10Device1::CreateShaderResourceView1</unmanaged>
 public ShaderResourceView1(Device1 device, Resource resource)
     : base(IntPtr.Zero)
 {
     device.CreateShaderResourceView1(resource, null, this);
 }