Home
last modified time | relevance | path

Searched refs:pMaterial (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTModelPOD.cpp1008 if(!WriteData32(pFile, ePODFileMatFlags, &s.pMaterial[i].nFlags)) return false; in WritePOD()
1009 …if(!WriteData(pFile, ePODFileMatName, s.pMaterial[i].pszName, (unsigned int)strlen(s.pMaterial in WritePOD()
1010 if(!WriteData32(pFile, ePODFileMatIdxTexDiffuse, &s.pMaterial[i].nIdxTexDiffuse)) return false; in WritePOD()
1011 if(!WriteData32(pFile, ePODFileMatIdxTexAmbient, &s.pMaterial[i].nIdxTexAmbient)) return false; in WritePOD()
1012 …if(!WriteData32(pFile, ePODFileMatIdxTexSpecularColour, &s.pMaterial[i].nIdxTexSpecularColour)) re… in WritePOD()
1013 …if(!WriteData32(pFile, ePODFileMatIdxTexSpecularLevel, &s.pMaterial[i].nIdxTexSpecularLevel)) retu… in WritePOD()
1014 if(!WriteData32(pFile, ePODFileMatIdxTexBump, &s.pMaterial[i].nIdxTexBump)) return false; in WritePOD()
1015 if(!WriteData32(pFile, ePODFileMatIdxTexEmissive, &s.pMaterial[i].nIdxTexEmissive)) return false; in WritePOD()
1016 …if(!WriteData32(pFile, ePODFileMatIdxTexGlossiness, &s.pMaterial[i].nIdxTexGlossiness)) return fal… in WritePOD()
1017 if(!WriteData32(pFile, ePODFileMatIdxTexOpacity, &s.pMaterial[i].nIdxTexOpacity)) return false; in WritePOD()
[all …]
DPVRTModelPOD.h290 SPODMaterial *pMaterial; /*!< Material array */ member
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp151 SPODMaterial* pMaterial = &m_Scene.pMaterial[i]; in LoadTextures() local
153 if(pMaterial->nIdxTexDiffuse != -1) in LoadTextures()
163 CPVRTString sTextureName = m_Scene.pTexture[pMaterial->nIdxTexDiffuse].pszName; in LoadTextures()