Lines Matching refs:material
108 D3DMATERIAL9 material; in Direct3DDevice9() local
110 material.Diffuse.r = 1.0f; in Direct3DDevice9()
111 material.Diffuse.g = 1.0f; in Direct3DDevice9()
112 material.Diffuse.b = 1.0f; in Direct3DDevice9()
113 material.Diffuse.a = 0.0f; in Direct3DDevice9()
114 material.Ambient.r = 0.0f; in Direct3DDevice9()
115 material.Ambient.g = 0.0f; in Direct3DDevice9()
116 material.Ambient.b = 0.0f; in Direct3DDevice9()
117 material.Ambient.a = 0.0f; in Direct3DDevice9()
118 material.Emissive.r = 0.0f; in Direct3DDevice9()
119 material.Emissive.g = 0.0f; in Direct3DDevice9()
120 material.Emissive.b = 0.0f; in Direct3DDevice9()
121 material.Emissive.a = 0.0f; in Direct3DDevice9()
122 material.Specular.r = 0.0f; in Direct3DDevice9()
123 material.Specular.g = 0.0f; in Direct3DDevice9()
124 material.Specular.b = 0.0f; in Direct3DDevice9()
125 material.Specular.a = 0.0f; in Direct3DDevice9()
126 material.Power = 0.0f; in Direct3DDevice9()
128 SetMaterial(&material); in Direct3DDevice9()
1607 long Direct3DDevice9::GetMaterial(D3DMATERIAL9 *material) in GetMaterial() argument
1611 TRACE("D3DMATERIAL9 *material = 0x%0.8p", material); in GetMaterial()
1613 if(!material) in GetMaterial()
1618 *material = this->material; in GetMaterial()
2830 long Direct3DDevice9::SetMaterial(const D3DMATERIAL9 *material) in SetMaterial() argument
2834 TRACE("const D3DMATERIAL9 *material = 0x%0.8p", material); in SetMaterial()
2836 if(!material) in SetMaterial()
2843 this->material = *material; in SetMaterial()
2845 …rer->setMaterialAmbient(sw::Color<float>(material->Ambient.r, material->Ambient.g, material->Ambie… in SetMaterial()
2846 …rer->setMaterialDiffuse(sw::Color<float>(material->Diffuse.r, material->Diffuse.g, material->Diffu… in SetMaterial()
2847 …->setMaterialEmission(sw::Color<float>(material->Emissive.r, material->Emissive.g, material->Emiss… in SetMaterial()
2848 renderer->setMaterialShininess(material->Power); in SetMaterial()
2849 …->setMaterialSpecular(sw::Color<float>(material->Specular.r, material->Specular.g, material->Specu… in SetMaterial()
2853 stateRecorder->setMaterial(material); in SetMaterial()