Table of Contents

virtual void AK::IAkPluginContextBase::GetPluginCustomGameData ( void *&  out_rpData,
AkUInt32 out_rDataSize  
) [pure virtual]

Return the pointer and size of the game data corresponding to the specified index, sent by the game using AK::SoundEngine::SendPluginCustomGameData(). The pointer returned will be NULL if the game data is inexistent. When this function is called and returns a valid data pointer, the data can only be used by this instance of the plugin and is guaranteed to be valid only during the frame.

Parameters:
out_rpData  Pointer to the data
out_rDataSize  size of the data returned in bytes.