Lines Matching refs:resFragmentLight

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()
240 resFragmentLight->toAnimGroupsDic.set_ptr( NULL ); in CreateResFragmentLight()
247 resFragmentLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResFragmentLight()
248 resFragmentLight->m_WorldMatrix = math::MTX34::Identity(); in CreateResFragmentLight()
249 ResTransformNode(resFragmentLight).SetBranchVisible(true); in CreateResFragmentLight()
274 resFragmentLight->toDistanceSampler.set_ptr( distanceSampler ); in CreateResFragmentLight()
275 resFragmentLight->toAngleSampler.set_ptr( angleSampler ); in CreateResFragmentLight()
277 return resFragmentLight; in CreateResFragmentLight()
284 ResFragmentLightData* resFragmentLight = in CloneResFragmentLight() local
290 resFragmentLight->typeInfo = source->typeInfo; in CloneResFragmentLight()
291 resFragmentLight->m_Header = source->m_Header; in CloneResFragmentLight()
293 resFragmentLight->toName.set_ptr( NULL ); in CloneResFragmentLight()
295 resFragmentLight->m_UserDataDicCount = 0; in CloneResFragmentLight()
296 resFragmentLight->toUserDataDic.set_ptr( NULL ); in CloneResFragmentLight()
300 resFragmentLight->m_Flags = source->m_Flags; in CloneResFragmentLight()
301 resFragmentLight->m_IsBranchVisible = source->m_IsBranchVisible; in CloneResFragmentLight()
302 resFragmentLight->m_ChildrenTableCount = 0; in CloneResFragmentLight()
303 resFragmentLight->toChildrenTable.set_ptr( NULL ); in CloneResFragmentLight()
304 resFragmentLight->m_AnimGroupsDicCount = 0; in CloneResFragmentLight()
305 resFragmentLight->toAnimGroupsDic.set_ptr( NULL ); in CloneResFragmentLight()
309 resFragmentLight->m_Transform = source->m_Transform; in CloneResFragmentLight()
310 resFragmentLight->m_LocalMatrix = source->m_LocalMatrix; in CloneResFragmentLight()
311 resFragmentLight->m_WorldMatrix = source->m_WorldMatrix; in CloneResFragmentLight()
315 resFragmentLight->m_IsLightEnabled = source->m_IsLightEnabled; in CloneResFragmentLight()
336 resFragmentLight->toDistanceSampler.set_ptr( distanceSampler ); in CloneResFragmentLight()
373 resFragmentLight->toAngleSampler.set_ptr( angleSampler ); in CloneResFragmentLight()
375 resFragmentLight->m_LightKind = source->m_LightKind; in CloneResFragmentLight()
376 resFragmentLight->m_Ambient = source->m_Ambient; in CloneResFragmentLight()
377 resFragmentLight->m_Diffuse = source->m_Diffuse; in CloneResFragmentLight()
378 resFragmentLight->m_Specular0 = source->m_Specular0; in CloneResFragmentLight()
379 resFragmentLight->m_Specular1 = source->m_Specular1; in CloneResFragmentLight()
380 resFragmentLight->m_AmbientU32 = source->m_AmbientU32; in CloneResFragmentLight()
381 resFragmentLight->m_DiffuseU32 = source->m_DiffuseU32; in CloneResFragmentLight()
382 resFragmentLight->m_Specular0U32 = source->m_Specular0U32; in CloneResFragmentLight()
383 resFragmentLight->m_Specular1U32 = source->m_Specular1U32; in CloneResFragmentLight()
384 resFragmentLight->m_Direction = source->m_Direction; in CloneResFragmentLight()
385 resFragmentLight->m_DistanceAttenuationStart = source->m_DistanceAttenuationStart; in CloneResFragmentLight()
386 resFragmentLight->m_DistanceAttenuationEnd = source->m_DistanceAttenuationEnd; in CloneResFragmentLight()
387 resFragmentLight->m_DistanceAttenuationScale = source->m_DistanceAttenuationScale; in CloneResFragmentLight()
388 resFragmentLight->m_DistanceAttenuationBias = source->m_DistanceAttenuationBias; in CloneResFragmentLight()
390 return resFragmentLight; in CloneResFragmentLight()
398 ResFragmentLightData* resFragmentLight in DestroyResFragmentLight() argument
402 NW_NULL_ASSERT( resFragmentLight ); in DestroyResFragmentLight()
404 allocator->Free( resFragmentLight->toDistanceSampler.to_ptr() ); in DestroyResFragmentLight()
407 reinterpret_cast<ResLightingLookupTableData*>(resFragmentLight->toAngleSampler.to_ptr()); in DestroyResFragmentLight()
413 if ( resFragmentLight->toName.to_ptr() != NULL ) in DestroyResFragmentLight()
415 allocator->Free( const_cast<char*>( resFragmentLight->toName.to_ptr() ) ); in DestroyResFragmentLight()
418 allocator->Free( resFragmentLight ); in DestroyResFragmentLight()
462 ResFragmentLight resFragmentLight, in GetMemorySizeInternal() argument
475 resFragmentLight, in GetMemorySizeInternal()
481 resFragmentLight.GetAnimGroupsCount() > 0) in GetMemorySizeInternal()
484 .ResAnimGroup(resFragmentLight.GetAnimGroups(0)) in GetMemorySizeInternal()