Lines Matching refs:memory
50 void* memory = allocator->Alloc(sizeof(Model)); in Create() local
51 NW_NULL_ASSERT(memory); in Create()
53 Model* node = new(memory) Model( in Create()
317 void* memory = allocator->Alloc(sizeof(Material*) * materialCount); in CreateMaterials() local
319 if (memory == NULL) in CreateMaterials()
325 m_Materials.Reset(memory, materialCount, allocator); in CreateMaterials()
341 void* memory = allocator->Alloc(sizeof(Material*) * materialCount); in CreateMaterials() local
343 if (memory == NULL) in CreateMaterials()
349 m_Materials.Reset(memory, materialCount, allocator); in CreateMaterials()
418 void* memory = allocator->Alloc(sizeof(bool) * meshesCount); in CreateResMeshes() local
420 if (memory == NULL) in CreateResMeshes()
426 m_MeshOriginalVisibilities.Reset(memory, meshesCount, allocator); in CreateResMeshes()
465 void* memory = allocator->Alloc(sizeof(bool) * visibilitiesConut); in CreateResMeshNodeVisibilities() local
467 if (memory == NULL) in CreateResMeshNodeVisibilities()
473 m_MeshNodeOriginalVisibilities.Reset(memory, visibilitiesConut, allocator); in CreateResMeshNodeVisibilities()