API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IVFSNODE_SETMODEL()

Brew Release
Brew MP 1.0.2
See Also
IVFSNODE_SetProperty() IVFSNODE_GetModel() IVFSNODE_GetObject()
Description
Associates a model with a node.
Params
po
[]:
[in] Pointer to the IVfsNode interface object
model
[]:
[in] Pointer to the the model interface object
Interface
  • IVFSNODE
Prototype
  •    int IVFSNODE_SetModel(IVfsNode * po,IVfsNodeModel * model)
    
Return
  •    SUCCESS, or standard error code.
    
Side Effect
  • None
Comments
Inline accessor for IVFSNODE_SetProperty(..., NODEPROPERTY_MODEL,...) You can associate EITHER a model OR an object (void*) with a node. Associating a model will disassociate an object, and vice versa.