S3MB::Material* pMaterial3D = new S3MB::Material;
wstring strMtlName = L"材质";
Technique* pTech = pMaterial3D->CreateTechnique();
Pass* pPass = pTech->CreatePass();
pPass->m_bMutiTexture = true;
auto matPbr = meshInfo.m_material.begin();
PBRMetallicRough* pbrMat = &(matPbr->second);
pPass->m_pPRBMaterial = pbrMat;
pPass->SetPFFMode((PolygonFrontFace)PFF_NONE);
strMtlName += textureDataName;
请问这样添加是否有问题?