Function steam_audio::ffi::iplSaveFinalizedScene [] [src]

pub unsafe extern "C" fn iplSaveFinalizedScene(
    scene: IPLhandle,
    data: *mut IPLbyte
) -> IPLint32

Serializes a Scene object to a byte array. The \c ::iplFinalizeScene function must have been called on the Scene object before calling this function. This function can only be called on a Scene object that has been created using the Phonon built-in ray tracer.

\param scene Handle to the Scene object. \param data [out] Byte array into which the Scene object will be serialized. It is the caller's responsibility to manage memory for this array. The array must be large enough to hold all the data in the Scene object. May be \c NULL, in which case no data is returned; this is useful when finding out the size of the data stored in the Scene object.