[]
Creates a RenderTargetView for accessing resource data.
public static RenderTargetView Create(Device device, Resource resource)
| 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)
| 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 |