Home
last modified time | relevance | path

Searched refs:pMaterial (Results 1 – 10 of 10) 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()
/external/mesa3d/src/gallium/frontends/nine/
Ddevice9.h492 const D3DMATERIAL9 *pMaterial );
496 D3DMATERIAL9 *pMaterial );
Ddevice9.c2169 const D3DMATERIAL9 *pMaterial ) in NineDevice9_SetMaterial() argument
2173 DBG("This=%p pMaterial=%p\n", This, pMaterial); in NineDevice9_SetMaterial()
2174 if (pMaterial) in NineDevice9_SetMaterial()
2175 nine_dump_D3DMATERIAL9(DBG_FF, pMaterial); in NineDevice9_SetMaterial()
2177 user_assert(pMaterial, E_POINTER); in NineDevice9_SetMaterial()
2179 state->ff.material = *pMaterial; in NineDevice9_SetMaterial()
2183 nine_context_set_material(This, pMaterial); in NineDevice9_SetMaterial()
2190 D3DMATERIAL9 *pMaterial ) in NineDevice9_GetMaterial() argument
2193 user_assert(pMaterial, E_POINTER); in NineDevice9_GetMaterial()
2194 *pMaterial = This->state.ff.material; in NineDevice9_GetMaterial()
Dnine_state.h454 const D3DMATERIAL9 *pMaterial);
Dnine_lock.c1108 const D3DMATERIAL9 *pMaterial ) in LockDevice9_SetMaterial() argument
1112 r = NineDevice9_SetMaterial(This, pMaterial); in LockDevice9_SetMaterial()
1119 D3DMATERIAL9 *pMaterial ) in LockDevice9_GetMaterial() argument
1123 r = NineDevice9_GetMaterial(This, pMaterial); in LockDevice9_GetMaterial()
Dnine_state.c1867 ARG_COPY_REF(D3DMATERIAL9, pMaterial)) in CSMT_ITEM_NO_WAIT() argument
1871 context->ff.material = *pMaterial; in CSMT_ITEM_NO_WAIT()
/external/mesa3d/include/D3D9/
Dd3d9.h207 virtual HRESULT WINAPI SetMaterial(const D3DMATERIAL9 *pMaterial) = 0;
208 virtual HRESULT WINAPI GetMaterial(D3DMATERIAL9 *pMaterial) = 0;
795 HRESULT (WINAPI *SetMaterial)(IDirect3DDevice9 *This, const D3DMATERIAL9 *pMaterial);
796 HRESULT (WINAPI *GetMaterial)(IDirect3DDevice9 *This, D3DMATERIAL9 *pMaterial);
1046 HRESULT (WINAPI *SetMaterial)(IDirect3DDevice9Ex *This, const D3DMATERIAL9 *pMaterial);
1047 HRESULT (WINAPI *GetMaterial)(IDirect3DDevice9Ex *This, D3DMATERIAL9 *pMaterial);
/external/swiftshader/include/Direct3D/
Dd3d8.h294 STDMETHOD(SetMaterial)(THIS_ CONST D3DMATERIAL8* pMaterial) PURE; in DECLARE_INTERFACE_()
295 STDMETHOD(GetMaterial)(THIS_ D3DMATERIAL8* pMaterial) PURE; in DECLARE_INTERFACE_()