[]
Creates a RenderTargetView for accessing resource data.
public static RenderTargetView Create(Device device, Resource resource)
Public Shared Function Create(device As Device, resource As Resource) As RenderTargetView
| Type | Name | Description |
|---|---|---|
| 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. |
| Type | Description |
|---|---|
| RenderTargetView |
Creates a RenderTargetView for accessing resource data.
public static RenderTargetView Create(Device device, Resource resource, RenderTargetViewDescription description)
Public Shared Function Create(device As Device, resource As Resource, description As RenderTargetViewDescription) As RenderTargetView
| Type | Name | Description |
|---|---|---|
| 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. |
| RenderTargetViewDescription | description | A structure describing the RenderTargetView to be created. |
| Type | Description |
|---|---|
| RenderTargetView |