Searched refs:resFragmentLight (Results 1 – 3 of 3) sorted by relevance
| /NW4C-1.2.23/sources/libraries/gfx/ |
| D | gfx_FragmentLight.cpp | 126 ResFragmentLightData* resFragmentLight = in CreateResFragmentLight() local 131 resFragmentLight->typeInfo = ResFragmentLight::TYPE_INFO; in CreateResFragmentLight() 132 resFragmentLight->m_Header.revision = ResLight::BINARY_REVISION; in CreateResFragmentLight() 133 resFragmentLight->m_Header.signature = ResLight::SIGNATURE; in CreateResFragmentLight() 135 resFragmentLight->m_UserDataDicCount = 0; in CreateResFragmentLight() 136 resFragmentLight->toUserDataDic.set_ptr( NULL ); in CreateResFragmentLight() 138 resFragmentLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResFragmentLight() 142 resFragmentLight->m_ChildrenTableCount = 0; in CreateResFragmentLight() 143 resFragmentLight->toChildrenTable.set_ptr( NULL ); in CreateResFragmentLight() 144 resFragmentLight->m_AnimGroupsDicCount = 0; in CreateResFragmentLight() [all …]
|
| /NW4C-1.2.23/demos/gfx/SceneTreeDemo/sources/ |
| D | SceneTreeDemo.cpp | 275 nw::gfx::ResFragmentLight resFragmentLight(fragmentLight->GetResFragmentLight()); in BuildLights() local 276 resFragmentLight.SetLightKind(nw::gfx::ResFragmentLight::KIND_DIRECTIONAL); in BuildLights() 279 resFragmentLight.SetDirection(fragmentLightDirection); in BuildLights() 280 resFragmentLight.SetAmbient(0.2f, 0.2f, 0.2f); in BuildLights() 281 resFragmentLight.SetDiffuse(1.0f, 1.0f, 1.0f); in BuildLights() 282 resFragmentLight.SetSpecular0(0.8f, 0.8f, 0.8f); in BuildLights() 283 resFragmentLight.SetSpecular1(0.8f, 0.8f, 0.8f); in BuildLights()
|
| /NW4C-1.2.23/include/nw/gfx/ |
| D | gfx_FragmentLight.h | 263 …ic void DestroyResFragmentLight(os::IAllocator* allocator, ResFragmentLightData* resFragmentLight);
|