gpt4 book ai didi

C++ 'CA2W' : identifier not found

转载 作者:塔克拉玛干 更新时间:2023-11-03 08:14:20 25 4
gpt4 key购买 nike

<分区>

为什么我得到“CA2W”:找不到标识符

for(DWORD i = 0; i < numMaterials; i++)    // for each material...
{
material[i] = tempMaterials[i].MatD3D; // get the material info
material[i].Ambient = material[i].Diffuse; // make ambient the same as diffuse
USES_CONVERSION; // allows certain string conversions
// if there is a texture to load, load it
D3DXCreateTextureFromFile(d3ddev,
CA2W(tempMaterials[i].pTextureFilename),
&texture[i]);
texture[i] = NULL; // if there is no texture, set the texture to NULL
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com