Searched refs:resFragmentLight (Results 1 – 3 of 3) sorted by relevance
| /NW4C-1.3.3/sources/libraries/gfx/ |
| D | gfx_FragmentLight.cpp | 160 ResFragmentLightData* resFragmentLight = in CreateResFragmentLight() local 165 resFragmentLight->typeInfo = ResFragmentLight::TYPE_INFO; in CreateResFragmentLight() 166 resFragmentLight->m_Header.revision = ResLight::BINARY_REVISION; in CreateResFragmentLight() 167 resFragmentLight->m_Header.signature = ResLight::SIGNATURE; in CreateResFragmentLight() 169 resFragmentLight->m_UserDataDicCount = 0; in CreateResFragmentLight() 170 resFragmentLight->toUserDataDic.set_ptr( NULL ); in CreateResFragmentLight() 172 resFragmentLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResFragmentLight() 176 resFragmentLight->m_ChildrenTableCount = 0; in CreateResFragmentLight() 177 resFragmentLight->toChildrenTable.set_ptr( NULL ); in CreateResFragmentLight() 178 resFragmentLight->m_AnimGroupsDicCount = 0; in CreateResFragmentLight() [all …]
|
| /NW4C-1.3.3/demos/gfx/SceneTreeDemo/sources/ |
| D | SceneTreeDemo.cpp | 267 nw::gfx::ResFragmentLight resFragmentLight(fragmentLight->GetResFragmentLight()); in BuildLights() local 268 resFragmentLight.SetLightKind(nw::gfx::ResFragmentLight::KIND_DIRECTIONAL); in BuildLights() 271 resFragmentLight.SetDirection(fragmentLightDirection); in BuildLights() 272 resFragmentLight.SetAmbient(0.2f, 0.2f, 0.2f); in BuildLights() 273 resFragmentLight.SetDiffuse(1.0f, 1.0f, 1.0f); in BuildLights() 274 resFragmentLight.SetSpecular0(0.8f, 0.8f, 0.8f); in BuildLights() 275 resFragmentLight.SetSpecular1(0.8f, 0.8f, 0.8f); in BuildLights()
|
| /NW4C-1.3.3/include/nw/gfx/ |
| D | gfx_FragmentLight.h | 295 …ic void DestroyResFragmentLight(os::IAllocator* allocator, ResFragmentLightData* resFragmentLight);
|