Searched refs:resFragmentLight (Results 1 – 3 of 3) sorted by relevance
| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_FragmentLight.cpp | 221 ResFragmentLightData* resFragmentLight = in CreateResFragmentLight() local 226 resFragmentLight->typeInfo = ResFragmentLight::TYPE_INFO; in CreateResFragmentLight() 227 resFragmentLight->m_Header.revision = ResLight::BINARY_REVISION; in CreateResFragmentLight() 228 resFragmentLight->m_Header.signature = ResLight::SIGNATURE; in CreateResFragmentLight() 230 resFragmentLight->m_UserDataDicCount = 0; in CreateResFragmentLight() 231 resFragmentLight->toUserDataDic.set_ptr( NULL ); in CreateResFragmentLight() 233 resFragmentLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResFragmentLight() 237 resFragmentLight->m_ChildrenTableCount = 0; in CreateResFragmentLight() 238 resFragmentLight->toChildrenTable.set_ptr( NULL ); in CreateResFragmentLight() 239 resFragmentLight->m_AnimGroupsDicCount = 0; in CreateResFragmentLight() [all …]
|
| /NW4C-2.0.3/demos/gfx/SceneTreeDemo/sources/ |
| D | SceneTreeDemo.cpp | 269 nw::gfx::ResFragmentLight resFragmentLight(fragmentLight->GetResFragmentLight()); in BuildLights() local 270 resFragmentLight.SetLightKind(nw::gfx::ResFragmentLight::KIND_DIRECTIONAL); in BuildLights() 273 resFragmentLight.SetDirection(fragmentLightDirection); in BuildLights() 274 resFragmentLight.SetAmbient(0.2f, 0.2f, 0.2f); in BuildLights() 275 resFragmentLight.SetDiffuse(1.0f, 1.0f, 1.0f); in BuildLights() 276 resFragmentLight.SetSpecular0(0.8f, 0.8f, 0.8f); in BuildLights() 277 resFragmentLight.SetSpecular1(0.8f, 0.8f, 0.8f); in BuildLights()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_FragmentLight.h | 335 …ic void DestroyResFragmentLight(os::IAllocator* allocator, ResFragmentLightData* resFragmentLight);
|