MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / ew_create

Method ew_create

Engine/source/afx/afxEffectWrapper.cpp:1131–1146  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

1129
1130// static
1131afxEffectWrapper* afxEffectWrapper::ew_create(afxChoreographer* choreographer,
1132 afxEffectWrapperData* datablock,
1133 afxConstraintMgr* cons_mgr,
1134 F32 time_factor,
1135 S32 group_index)
1136{
1137 afxEffectWrapper* adapter = datablock->effect_desc->create();
1138
1139 if (adapter)
1140 {
1141 adapter->mGroup_index = (datablock->group_index != -1) ? datablock->group_index : group_index;
1142 adapter->ew_init(choreographer, datablock, cons_mgr, time_factor);
1143 }
1144
1145 return adapter;
1146}
1147
1148//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~//
1149

Callers

nothing calls this directly

Calls 2

ew_initMethod · 0.80
createMethod · 0.45

Tested by

no test coverage detected