[]
ID3D11RenderTargetView
[Guid("dfdba067-0b8d-4865-875b-d7b4516cc164")]
public class RenderTargetView : ResourceView, IDisposable, IUnknown
Initializes a new instance of the RenderTargetView class.
public RenderTargetView(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
GetDescription
public RenderTargetViewDescription Description { get; }
Creates a RenderTargetView for accessing resource data.
public static RenderTargetView Create(Device device, Resource resource, RenderTargetViewDescription description)
device
DeviceThe device to use when creating this RenderTargetView.
resource
ResourceThe resource that represents the render-target surface. This surface must have been created with the RenderTarget flag.
description
RenderTargetViewDescriptionA structure describing the RenderTargetView to be created.
Creates a RenderTargetView for accessing resource data.
public static RenderTargetView Create(Device device, Resource resource)
device
DeviceThe device to use when creating this RenderTargetView.
resource
ResourceThe resource that represents the render-target surface. This surface must have been created with the RenderTarget flag.
void ID3D11RenderTargetView::GetDesc([Out] D3D11_RENDER_TARGET_VIEW_DESC* pDesc)
public void GetDescription(out RenderTargetViewDescription descRef)
descRef
RenderTargetViewDescriptionPerforms an explicit conversion from System.IntPtr to RenderTargetView.
public static explicit operator RenderTargetView(IntPtr nativePointer)
nativePointer
System.IntPtr