版本

menu_open
Wwise SDK 2023.1.2
AkBankReadHelpers.h 文件参考
#include <AK/Tools/Common/AkPlatformFuncs.h>
#include <type_traits>

浏览源代码.

命名空间

namespace  AK
 Audiokinetic namespace
 

宏定义

#define READBANKDATA(_Type, _Ptr, _Size)    AK::ReadBankData<_Type>( _Ptr )
 Read and return bank data of a given type, incrementing running pointer and decrementing block size for debug tracking purposes 更多...
 
#define READVARIABLESIZEBANKDATA(_Type, _Ptr, _Size)    AK::ReadVariableSizeBankData<_Type>( _Ptr )
 
#define READBANKSTRING(_Ptr, _Size, _out_StringSize)    AK::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 COPYBANKSTRING_CHAR(_Ptr, _Size, _OutPtr, _MaxPtrSize)
 Read and copy to a null-terminated UTF-8 string conversion from string stored in bank. 更多...
 
#define COPYBANKSTRING_OSCHAR(_Ptr, _Size, _OutPtr, _MaxPtrSize)
 Read and copy to a null-terminated OSChar string conversion from string stored in bank. 更多...
 
#define COPYBANKSTRING_WCHAR(_Ptr, _Size, OutPtr, _MaxPtrSize)
 Read and copy to a null-terminated wchar_t string conversion from string stored in bank. 更多...
 
#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 更多...
 

函数

template<typename T , typename std::enable_if< std::is_fundamental< T >::value||std::is_enum< T >::value, bool >::type = true>
AK::ReadUnaligned (const AkUInt8 *in_pVal)
 
template<typename T , typename std::enable_if< std::is_fundamental< T >::value||std::is_enum< T >::value, bool >::type = true>
void AK::WriteUnaligned (AkUInt8 *out_pVal, const T in_val)
 
template<typename T , typename std::enable_if< std::is_class< T >::value, bool >::type = true>
void AK::WriteUnaligned (AkUInt8 *out_pVal, const T &in_val)
 
template<typename T >
AK::ReadBankData (AkUInt8 *&in_rptr)
 Read data from bank and advance pointer. 更多...
 
template<typename T >
AK::ReadVariableSizeBankData (AkUInt8 *&in_rptr)
 
char * AK::ReadBankStringUtf8 (AkUInt8 *&in_rptr, AkUInt32 &out_uStringSize)
 

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅