Loads a new Trigml fragment resource as into the given node.
The element into which to load the fragment.
The resource path of the fragment to load.
int ITRIGMLELEMENT_LoadFragment(ITrigmlElement* target, VfsPath res);
A BREW error code.
The fragment identified by the resource path is retrieved from the loaded
Trigs and then parsed. Any top-level element nodes created during the parse
are inserted as children of the target node.
Note that this method does NOT replace any existing children of the target
node. Existing children are preserved, and new children are appended to the
child list. If you wish to replace the existing children, you should call
ITRIGMLELEMENT_RemoveAllChildren() before calling
You can provide values for Trigml parameters in the loaded fragment by
calling ITRIGPLAYEREX_PushParam() and ITRIGPLAYEREX_PopParam().
Qualcomm and Brew are trademarks of Qualcomm Incorporated, registered in the United States and other countries. Trademarks of Qualcomm Incorporated are used with permission. Other products and brand names may be trademarks or registered trademarks of their respective owners.