Lines Matching refs:resFragmentLight

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()
145 resFragmentLight->toAnimGroupsDic.set_ptr( NULL ); in CreateResFragmentLight()
152 resFragmentLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResFragmentLight()
153 resFragmentLight->m_WorldMatrix = math::MTX34::Identity(); in CreateResFragmentLight()
178 resFragmentLight->toDistanceSampler.set_ptr( distanceSampler ); in CreateResFragmentLight()
179 resFragmentLight->toAngleSampler.set_ptr( angleSampler ); in CreateResFragmentLight()
181 return resFragmentLight; in CreateResFragmentLight()
187 …ntLight::DestroyResFragmentLight(os::IAllocator* allocator, ResFragmentLightData* resFragmentLight) in DestroyResFragmentLight() argument
190 NW_NULL_ASSERT( resFragmentLight ); in DestroyResFragmentLight()
192 allocator->Free( resFragmentLight->toDistanceSampler.to_ptr() ); in DestroyResFragmentLight()
195 reinterpret_cast<ResLightingLookupTableData*>(resFragmentLight->toAngleSampler.to_ptr()); in DestroyResFragmentLight()
197 allocator->Free( resFragmentLight->toAngleSampler.to_ptr() ); in DestroyResFragmentLight()
198 if ( resFragmentLight->toName.to_ptr() != NULL ) in DestroyResFragmentLight()
200 allocator->Free( const_cast<char*>( resFragmentLight->toName.to_ptr() ) ); in DestroyResFragmentLight()
202 allocator->Free( resFragmentLight ); in DestroyResFragmentLight()