Lines Matching refs:memory
48 void* memory = allocator->Alloc(sizeof(Model)); in Create() local
49 NW_NULL_ASSERT(memory); in Create()
51 Model* node = new(memory) Model( in Create()
315 void* memory = allocator->Alloc(sizeof(Material*) * materialCount); in CreateMaterials() local
317 if (memory == NULL) in CreateMaterials()
323 m_Materials.Reset(memory, materialCount, allocator); in CreateMaterials()
339 void* memory = allocator->Alloc(sizeof(Material*) * materialCount); in CreateMaterials() local
341 if (memory == NULL) in CreateMaterials()
347 m_Materials.Reset(memory, materialCount, allocator); in CreateMaterials()
416 void* memory = allocator->Alloc(sizeof(bool) * meshesCount); in CreateResMeshes() local
418 if (memory == NULL) in CreateResMeshes()
424 m_MeshOriginalVisibilities.Reset(memory, meshesCount, allocator); in CreateResMeshes()
463 void* memory = allocator->Alloc(sizeof(bool) * visibilitiesConut); in CreateResMeshNodeVisibilities() local
465 if (memory == NULL) in CreateResMeshNodeVisibilities()
471 m_MeshNodeOriginalVisibilities.Reset(memory, visibilitiesConut, allocator); in CreateResMeshNodeVisibilities()