# IRcME2UpdateFromGeneric Interface Reference

Inherits IUnknown.

List of all members.

## Public Member Functions
HRESULT | CreateNewMaterialItem (IRdMaterialGeneric *pMatGen, IRsNode **ppNewMatItem)

## Detailed Description

Helper command used to update/create D3D material from material generic description.

## Member Function Documentation

HRESULT IRcME2UpdateFromGeneric::CreateNewMaterialItem | ( | IRdMaterialGeneric * | pMatGen,
|  | IRsNode ** | ppNewMatItem |
| ) |  |  |

Create new material item according to generic material.

Parameters:

  | pMatGen | Generic material used as material template.
  | ppNewMatItem | Generated D3D simple material according to generic description.

Returns:
  S_OK if succeeded.