Main Page | Class Hierarchy | Alphabetical List | Compound List | Compound Members

# IRdRenderTarget Struct 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 | is filled with this info.
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 | specifies layer number. Layer 0 is topmost layer.
  pOutInfo | is filled with layer info.
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!!!