Wwise SDK
_ak_bank_read_helpers_8h_source
Version
menu_open
link
AkBankReadHelpers.h
Go to the documentation of this file.
38 typename std::enable_if<std::is_fundamental<T>::value || std::is_enum<T>::value, bool>::type = true
46 return *reinterpret_cast<const T __unaligned *>(in_pVal); // __unaligned not supported on 32-bit x86
58 static_assert(std::is_trivially_copyable<T>::value, "Unaligned operations require being trivially copiable");
67 typename std::enable_if<std::is_fundamental<T>::value || std::is_enum<T>::value, bool>::type = true
88 *reinterpret_cast<T __unaligned *>(out_pVal) = in_val; // __unaligned not supported on 32-bit x86
100 static_assert(std::is_trivially_copyable<T>::value, "Unaligned operations require being trivially copiable");
183 /// Read and return bank data of a given type, incrementing running pointer and decrementing block size for debug tracking purposes
190 /// Read and return a null-terminated UTF-8 string, written with the DataWriter of \ref AK::Wwise::Plugin::CustomData::GetPluginData or
196 /// Skip over some bank data of a given type, incrementing running pointer and decrementing block size for debug tracking purposes
201 /// Skip over some bank data by a given size in bytes, incrementing running pointer and decrementing block size for debug tracking purposes
224 /// Read and return bank data of a given type, incrementing running pointer and decrementing block size for debug tracking purposes
234 /// Skip over some bank data of a given type, incrementing running pointer and decrementing block size for debug tracking purposes
238 /// Skip over some bank data by a given size in bytes, incrementing running pointer and decrementing block size for debug tracking purposes
void WriteUnaligned(AkUInt8 *out_pVal, const T in_val)
Definition: AkBankReadHelpers.h:69
T ReadBankData(AkUInt8 *&in_rptr)
Read data from bank and advance pointer.
Definition: AkBankReadHelpers.h:106
T ReadVariableSizeBankData(AkUInt8 *&in_rptr)
Definition: AkBankReadHelpers.h:123
AkForceInline void AkMemCpy(void *pDest, const void *pSrc, AkUInt32 uSize)
Platform Independent Helper.
Definition: AkPlatformFuncs.h:361
char * ReadBankStringUtf8(AkUInt8 *&in_rptr, AkUInt32 &out_uStringSize)
Definition: AkBankReadHelpers.h:152
Was this page helpful?
Need Support?
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageTell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise