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

Developer

API Reference

ITRIGMLEXTENSIONMETADATA_DESERIALIZE()

Brew Release
Brew MP 1.0.2
Description
A Trigml extension should call this method from its implementation ITRIGMLEXTENSION_Init to provide Trigplayer with the serialized metadata for that extension. Trigplayer will deserialize the metadata and store it internally for future use.
Params
po
[]:
A pointer to an ITrigmlExtensionMetadata object.
blob
[]:
The extensionMetadata byte array generated by running tc --metadata.
size
[]:
Size of the blob - use sizeof(extensionMetadata).

Interface
  • ITRIGMLEXTENSIONMETADATA
Prototype
  •    int ITRIGMLEXTENSIONMETADATA_Deserialize(ITrigmlExtensionMetadata* po, const byte* blob, uint32 size);
    
Return
  •    A BREW error code.
    
Side Effect