# IRdRenderTarget Interface Reference

Inherits IRsDataObject.

Inherited by IRdD3DRenderTarget.

List of all members.

## Public Member Functions
HRESULT | Clear (void)
HRESULT | GatherInfo ([in] RtRenderTargetInfo *pOutInfo)
HRESULT | GetLayerInfo ([in] RtDWORD dwLayer,[in] RtLayerInfo *pOutInfo)

## Detailed Description

Render target info.

## Member Function Documentation

HRESULT IRdRenderTarget::Clear | ( | void |  | ) |

Clear all data in the Render Target

HRESULT IRdRenderTarget::GatherInfo | ( | [in] RtRenderTargetInfo * | pOutInfo | ) |

Gathers render target and layer information.

Parameters:

  | pOutInfo | [in] is filled with this info.

Remarks:
  Use the m_dwLayerCount Parameter for calls to GetLayerInfo to receive info for layers.
  Note that another call to GatherInfo overwrites current internal values.

HRESULT IRdRenderTarget::GetLayerInfo | ( | [in] RtDWORD | dwLayer,
|  | [in] RtLayerInfo * | pOutInfo |
| ) |  |  |

Use this method to receive info about layer.

Parameters:

  | dwLayer | [in] Specifies layer number. Layer 0 is topmost layer.
  | pOutInfo | [in] Is filled with layer info.

Remarks:
  Note that call to this method is valid only after the GatherInfo call.
  Note that caller is responsible for freeing any BSTR strings in the structure after the call!!!