You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FFGLPlugin API for adding parameters (FFGLPlugin::AddParam) does not provide the created param index.
And automatically uses the created param index as the param ID in the created ParamInfo.
So, if I want to use the inherited CFFGLPluginManager::SetParamGroup which expected a param ID, I can't, because I don't know the ID.
I can go through the params myself, find the param by name, and get it's index (thus it's ID).
So this is NOT a BLOCKER, but just an incomplete API.
The text was updated successfully, but these errors were encountered:
I cant speak for the quickstart classes, maybe @flyingrub can shed some light on this. In CFFGLPluginManager however index, dwIndex and paramID are used interchangeably. I do find this annoying myself as well, it's something that needs to be cleaned up after decades of inheriting code and building on top of it.
What most plugins do is have an enum for their param ids and then add the params in the same order of the enum values. Then you can use the enum values to address the range or group for that param.
The
FFGLPlugin
API for adding parameters (FFGLPlugin::AddParam
) does not provide the created param index.And automatically uses the created param index as the param ID in the created
ParamInfo
.So, if I want to use the inherited
CFFGLPluginManager::SetParamGroup
which expected a param ID, I can't, because I don't know the ID.I can go through the params myself, find the param by name, and get it's index (thus it's ID).
So this is NOT a BLOCKER, but just an incomplete API.
The text was updated successfully, but these errors were encountered: