[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.RenderTargetView

Class RenderTargetView

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

ID3D11RenderTargetView

[Guid("dfdba067-0b8d-4865-875b-d7b4516cc164")]
public class RenderTargetView : ResourceView, IDisposable, IUnknown
Inheritance
object
RenderTargetView
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

RenderTargetView(IntPtr)

Initializes a new instance of the RenderTargetView class.

public RenderTargetView(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Description

GetDescription

public RenderTargetViewDescription Description { get; }

Property Value

RenderTargetViewDescription

Methods

Create(Device, Resource, RenderTargetViewDescription)

Creates a RenderTargetView for accessing resource data.

public static RenderTargetView Create(Device device, Resource resource, RenderTargetViewDescription description)

Parameters

device Device

The device to use when creating this RenderTargetView.

resource Resource

The resource that represents the render-target surface. This surface must have been created with the RenderTarget flag.

description RenderTargetViewDescription

A structure describing the RenderTargetView to be created.

Returns

RenderTargetView

Create(Device, Resource)

Creates a RenderTargetView for accessing resource data.

public static RenderTargetView Create(Device device, Resource resource)

Parameters

device Device

The device to use when creating this RenderTargetView.

resource Resource

The resource that represents the render-target surface. This surface must have been created with the RenderTarget flag.

Returns

RenderTargetView

GetDescription(out RenderTargetViewDescription)

void ID3D11RenderTargetView::GetDesc([Out] D3D11_RENDER_TARGET_VIEW_DESC* pDesc)

public void GetDescription(out RenderTargetViewDescription descRef)

Parameters

descRef RenderTargetViewDescription

Operators

explicit operator RenderTargetView(IntPtr)

Performs an explicit conversion from System.IntPtr to RenderTargetView.

public static explicit operator RenderTargetView(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

RenderTargetView