IPluginV2Ext Methods
| 625 | |
| 626 | // IPluginV2Ext Methods |
| 627 | DataType FCPluginDynamic::getOutputDataType(int32_t index, DataType const* inputTypes, int32_t nbInputs) const noexcept |
| 628 | { |
| 629 | PLUGIN_ASSERT(index == 0); |
| 630 | PLUGIN_ASSERT(nbInputs == 1); |
| 631 | PLUGIN_ASSERT(inputTypes != nullptr); |
| 632 | PLUGIN_ASSERT(inputTypes[0] == DataType::kFLOAT || inputTypes[0] == DataType::kHALF); |
| 633 | return inputTypes[0]; |
| 634 | } |
| 635 | |
| 636 | // IPluginV2 Methods |
| 637 | char const* FCPluginDynamic::getPluginType() const noexcept |