create View Model Instance
fun createViewModelInstance(fileHandle: FileHandle, source: ViewModelInstanceSource): ViewModelInstanceHandle
Create a new view model instance based on the given source. The source is a combination of a view model source and an instance source, which multiply to capture all the possible ways to create an instance (+1 for referencing).
Return
The handle of the created view model instance.
Parameters
file Handle
The handle of the file that owns the view model instance.
source
The source of the view model instance to create, which internally also has a ViewModelSource.
Throws
If the CommandQueue has been released.