Lines Matching refs:resFragmentLight
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()
179 resFragmentLight->toAnimGroupsDic.set_ptr( NULL ); in CreateResFragmentLight()
186 resFragmentLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResFragmentLight()
187 resFragmentLight->m_WorldMatrix = math::MTX34::Identity(); in CreateResFragmentLight()
188 ResTransformNode(resFragmentLight).SetBranchVisible(true); in CreateResFragmentLight()
213 resFragmentLight->toDistanceSampler.set_ptr( distanceSampler ); in CreateResFragmentLight()
214 resFragmentLight->toAngleSampler.set_ptr( angleSampler ); in CreateResFragmentLight()
216 return resFragmentLight; in CreateResFragmentLight()
222 …ntLight::DestroyResFragmentLight(os::IAllocator* allocator, ResFragmentLightData* resFragmentLight) in DestroyResFragmentLight() argument
225 NW_NULL_ASSERT( resFragmentLight ); in DestroyResFragmentLight()
227 allocator->Free( resFragmentLight->toDistanceSampler.to_ptr() ); in DestroyResFragmentLight()
230 reinterpret_cast<ResLightingLookupTableData*>(resFragmentLight->toAngleSampler.to_ptr()); in DestroyResFragmentLight()
232 allocator->Free( resFragmentLight->toAngleSampler.to_ptr() ); in DestroyResFragmentLight()
233 if ( resFragmentLight->toName.to_ptr() != NULL ) in DestroyResFragmentLight()
235 allocator->Free( const_cast<char*>( resFragmentLight->toName.to_ptr() ) ); in DestroyResFragmentLight()
237 allocator->Free( resFragmentLight ); in DestroyResFragmentLight()
281 ResFragmentLight resFragmentLight, in GetMemorySizeInternal() argument
294 resFragmentLight, in GetMemorySizeInternal()
300 resFragmentLight.GetAnimGroupsCount() > 0) in GetMemorySizeInternal()
303 .ResAnimGroup(resFragmentLight.GetAnimGroups(0)) in GetMemorySizeInternal()