CRI ADX  Last Updated: 2024-07-17 10:48 p
获取ACF信息

示例目录

/cri/pc/samples/criatomex/acf_info


示例描述

要获取 ACF信息 ,请使用CriAtomExAcf API 函数。
CriSint32 num_categories;
CriUint16 category_index;
CriAtomExCategoryInfo category_info;
CriSint32 num_aisac_controls;
CriUint16 aisac_control_index;
CriAtomExAisacControlInfo aisac_control_info;
/* 获取类别数量 */
/* 获取类别信息 */
criAtomExAcf_GetCategoryInfo(category_index, &category_info);
/* 获取Aisac Control数量 */
/* 获取Aisac Control信息 */
criAtomExAcf_GetAisacControlInfo(aisac_control_index, &aisac_control_info);
CriBool criAtomExAcf_GetCategoryInfo(CriUint16 index, CriAtomExCategoryInfo *info)
Get information about a category given its index
CriSint32 criAtomExAcf_GetNumAisacControls(void)
Get the number of AISAC controls
CriSint32 criAtomExAcf_GetNumCategories(void)
Get the number of categories
CriBool criAtomExAcf_GetAisacControlInfo(CriUint16 index, CriAtomExAisacControlInfo *info)
Get information about an AISAC control
Structure used to get information about an AISAC control
Definition: cri_le_atom_ex.h:2584
Structure used to get information about a category
Definition: cri_le_atom_ex.h:2881


示例使用的数据中AtomCraft项目的目录

/cri/tools/criatomex/examples/tutorial_data_for_runtime