nw::ut::ResDynamicCast Function
template <class TDown, class TBase>
TDown ResDynamicCast(
TBase res
);
| Name | Description |
|---|---|
| TDown | Resource type to cast to. |
| TBase | Resource type to cast from. |
| Name | Description | |
|---|---|---|
| in | res | Resource to cast from. |
Dynamically casts one resource-type object to another resource type. There is no support whatsoever for casting to a class having an entirely different inheritance hierarchy.
CONFIDENTIAL