778 B
778 B
TextureImportSettings::SetTargetFormat
设置相关状态或配置。
void SetTargetFormat(TextureFormat format);
该方法声明于 XCEngine/Resources/Texture/TextureImportSettings.h,当前页面用于固定 TextureImportSettings 类目录下的方法级 canonical 路径。
参数:
format- 参数语义详见头文件声明。
返回: void - 无返回值。
示例:
#include <XCEngine/Resources/Texture/TextureImportSettings.h>
void Example() {
XCEngine::Resources::TextureImportSettings object;
// 根据上下文补齐参数后调用 TextureImportSettings::SetTargetFormat(...)。
(void)object;
}