版本

menu_open

include/AK/Tools/Common/AkBankReadHelpers.h File Reference

Go to the source code of this file.

Defines

#define  READBANKDATA(_Type, _Ptr, _Size)   ReadBankData<_Type>( _Ptr )
  Read and return bank data of a given type, incrementing running pointer and decrementing block size for debug tracking purposes.
#define  READBANKSTRING_UTF8(_Ptr, _Size, _out_StringSize)   ReadBankStringUtf8( _Ptr, _out_StringSize )
#define  READBANKSTRING(_Ptr, _Size, _out_StringSize)   ReadBankStringUtf8( _Ptr, _out_StringSize )
#define  SKIPBANKDATA(_Type, _Ptr, _Size)   ( _Ptr ) += sizeof( _Type )
  Skip over some bank data of a given type, incrementing running pointer and decrementing block size for debug tracking purposes.
#define  SKIPBANKBYTES(_NumBytes, _Ptr, _Size)   ( _Ptr ) += _NumBytes;
  Skip over some bank data by a given size in bytes, incrementing running pointer and decrementing block size for debug tracking purposes.
#define  GETBANKDATABIT(_Data, _Shift)   (((_Data) >> (_Shift)) & 0x1)
#define  CHECKBANKDATASIZE(_DATASIZE_, _ERESULT_)
  Helper macro to determine whether the full content of a block of memory was properly parsed.

Functions

template<typename T >
ReadBankData (AkUInt8 *&in_rptr)
  Read data from bank and advance pointer.
char *  ReadBankStringUtf8 (AkUInt8 *&in_rptr, AkUInt32 &out_uStringSize)
template<typename T >
ReadUnaligned (const AkUInt8 *in_rptr, AkUInt32 in_bytesToSkip=0)
  Read unaligned memory, const version.
AkReal32  AlignFloat (AkReal32 *__unaligned ptr)
  Handle reading float not aligned on proper memory boundaries (banks are byte packed).
template<>
AkReal32  ReadBankData< AkReal32 > (AkUInt8 *&in_rptr)
  Read data from bank and advance pointer.
AkReal64  AlignFloat (AkReal64 *__unaligned ptr)
  Handle reading float not aligned on proper memory boundaries (banks are byte packed).
template<>
AkReal64  ReadBankData< AkReal64 > (AkUInt8 *&in_rptr)
  Read data from bank and advance pointer.
template<typename TO , typename FROM >
TO  union_cast (FROM value)
  Type conversion helper on some platforms.
AkReal32  AlignFloat (AkReal32 *ptr)
  Handle reading float not aligned on proper memory boundaries (banks are byte packed).
AkReal64  AlignFloat (AkReal64 *ptr)
  Handle reading float not aligned on proper memory boundaries (banks are byte packed).

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅