Lines Matching refs:resAmbientLight
107 ResAmbientLightData* resAmbientLight = in CreateResAmbientLight() local
112 resAmbientLight->typeInfo = ResAmbientLight::TYPE_INFO; in CreateResAmbientLight()
113 resAmbientLight->m_Header.revision = ResLight::BINARY_REVISION; in CreateResAmbientLight()
114 resAmbientLight->m_Header.signature = ResLight::SIGNATURE; in CreateResAmbientLight()
116 resAmbientLight->m_UserDataDicCount = 0; in CreateResAmbientLight()
117 resAmbientLight->toUserDataDic.set_ptr( NULL ); in CreateResAmbientLight()
120 resAmbientLight->toName.set_ptr(AllocateAndCopyString(name, allocator, MAX_NAME_LENGTH)); in CreateResAmbientLight()
124 resAmbientLight->m_ChildrenTableCount = 0; in CreateResAmbientLight()
125 resAmbientLight->toChildrenTable.set_ptr( NULL ); in CreateResAmbientLight()
126 resAmbientLight->m_AnimGroupsDicCount = NULL; in CreateResAmbientLight()
127 resAmbientLight->toAnimGroupsDic.set_ptr( NULL ); in CreateResAmbientLight()
134 resAmbientLight->m_Transform = math::Transform3(scale, rotate, translate); in CreateResAmbientLight()
135 resAmbientLight->m_WorldMatrix = math::MTX34::Identity(); in CreateResAmbientLight()
137 return resAmbientLight; in CreateResAmbientLight()
143 …bientLight::DestroyResAmbientLight(os::IAllocator* allocator, ResAmbientLightData* resAmbientLight) in DestroyResAmbientLight() argument
146 NW_NULL_ASSERT( resAmbientLight ); in DestroyResAmbientLight()
148 if ( resAmbientLight->toName.to_ptr() != NULL ) in DestroyResAmbientLight()
150 allocator->Free( const_cast<char*>( resAmbientLight->toName.to_ptr() ) ); in DestroyResAmbientLight()
152 allocator->Free( resAmbientLight ); in DestroyResAmbientLight()