Hi,
is there a way to extract the "name" of a CompositorWorkspace or its defintion?
I use
Code: Select all
Ogre::CompositorManager* compMan = ...->getCompositorManager2();
Ogre::CompositorWorkspace* compWork = compMan->addWorkspace(..., ..., ..., "WorkspaceName", ...);
This is used as mDefinition in compWork, but I can't find a method to extract the information from the workspace or the CompositorWorkspaceDefinition. Is there any reason not to provide this?
I want to create a new workspace from the current workspace definition to render to texture for a high res screenshot.