# IRsUVESelectionRenderData Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | SetViewportData ([in] RtUVcoord panning,[in] RtFloat zoom,[in] RtFloat aspect)
HRESULT | AddNodeData ([in] IRdMesh *pMesh,[in] IRdUVSelection *pSelection)
HRESULT | BuildRenderData ([in] IUnknown *pDeviceUnk,[in] RtDWORD dwColor,[in] RtDWORD dwActiveUV)
HRESULT | Render ([in] IUnknown *pDeviceUnk)
HRESULT | Clear ()

## Detailed Description

Helper cache for rendering selection and higlight.

- Can render selected primitives in UV mapping as a subset of UV mapping with custom transparency and color.

## Member Function Documentation

HRESULT IRsUVESelectionRenderData::SetViewportData | ( | [in] RtUVcoord | panning,
|  | [in] RtFloat | zoom,
|  | [in] RtFloat | aspect |
| ) |  |  |

Sets viewport data.

Parameters:

  | panning | [in] Set panning value.
  | zoom | [in] Set zoom value.
  | aspect | [in] Set aspect.

HRESULT IRsUVESelectionRenderData::AddNodeData | ( | [in] IRdMesh * | pMesh,
|  | [in] IRdUVSelection * | pSelection |
| ) |  |  |

Adds node selection to vertex buffers.

Parameters:

  | pMesh | [in] Node mesh to add.
  | pSelection | [in] Selection to add to.

HRESULT IRsUVESelectionRenderData::BuildRenderData | ( | [in] IUnknown * | pDeviceUnk,
|  | [in] RtDWORD | dwColor,
|  | [in] RtDWORD | dwActiveUV |
| ) |  |  |

Rebuilds vertex buffers.

Parameters:

  | pDeviceUnk | [in] DirectX device.
  | dwColor | [in] .
  | dwActiveUV | [in] .

HRESULT IRsUVESelectionRenderData::Render | ( | [in] IUnknown * | pDeviceUnk | ) |

Renders vertex buffers.

Parameters:

  | pDeviceUnk | [in] DirectX device to render from.

HRESULT IRsUVESelectionRenderData::Clear | ( |  | ) |

Clears vertex buffers.