• Home
  • Raw
  • Download

Lines Matching refs:material

96 		D3DMATERIAL8 material;  in Direct3DDevice8()  local
98 material.Diffuse.r = 1.0f; in Direct3DDevice8()
99 material.Diffuse.g = 1.0f; in Direct3DDevice8()
100 material.Diffuse.b = 1.0f; in Direct3DDevice8()
101 material.Diffuse.a = 0.0f; in Direct3DDevice8()
102 material.Ambient.r = 0.0f; in Direct3DDevice8()
103 material.Ambient.g = 0.0f; in Direct3DDevice8()
104 material.Ambient.b = 0.0f; in Direct3DDevice8()
105 material.Ambient.a = 0.0f; in Direct3DDevice8()
106 material.Emissive.r = 0.0f; in Direct3DDevice8()
107 material.Emissive.g = 0.0f; in Direct3DDevice8()
108 material.Emissive.b = 0.0f; in Direct3DDevice8()
109 material.Emissive.a = 0.0f; in Direct3DDevice8()
110 material.Specular.r = 0.0f; in Direct3DDevice8()
111 material.Specular.g = 0.0f; in Direct3DDevice8()
112 material.Specular.b = 0.0f; in Direct3DDevice8()
113 material.Specular.a = 0.0f; in Direct3DDevice8()
114 material.Power = 0.0f; in Direct3DDevice8()
116 SetMaterial(&material); in Direct3DDevice8()
1446 long Direct3DDevice8::GetMaterial(D3DMATERIAL8 *material) in GetMaterial() argument
1450 if(!material) in GetMaterial()
1455 *material = this->material; in GetMaterial()
2204 long Direct3DDevice8::SetMaterial(const D3DMATERIAL8 *material) in SetMaterial() argument
2208 if(!material) in SetMaterial()
2215 this->material = *material; in SetMaterial()
2217 …rer->setMaterialAmbient(sw::Color<float>(material->Ambient.r, material->Ambient.g, material->Ambie… in SetMaterial()
2218 …rer->setMaterialDiffuse(sw::Color<float>(material->Diffuse.r, material->Diffuse.g, material->Diffu… in SetMaterial()
2219 …->setMaterialEmission(sw::Color<float>(material->Emissive.r, material->Emissive.g, material->Emiss… in SetMaterial()
2220 renderer->setMaterialShininess(material->Power); in SetMaterial()
2221 …->setMaterialSpecular(sw::Color<float>(material->Specular.r, material->Specular.g, material->Specu… in SetMaterial()
2225 stateRecorder.back()->setMaterial(material); in SetMaterial()