Lines Matching refs:memory
49 void* memory = allocator->Alloc(sizeof(Model)); in Create() local
50 NW_NULL_ASSERT(memory); in Create()
52 Model* node = new(memory) Model( in Create()
307 void* memory = allocator->Alloc(sizeof(Material*) * materialCount); in CreateMaterials() local
309 if (memory == NULL) in CreateMaterials()
315 m_Materials = gfx::MaterialArray(memory, materialCount, allocator); in CreateMaterials()
331 void* memory = allocator->Alloc(sizeof(Material*) * materialCount); in CreateMaterials() local
333 if (memory == NULL) in CreateMaterials()
339 m_Materials = gfx::MaterialArray(memory, materialCount, allocator); in CreateMaterials()
408 void* memory = allocator->Alloc(sizeof(bool) * meshesCount); in CreateResMeshes() local
410 if (memory == NULL) in CreateResMeshes()
416 m_MeshOriginalVisibilities.Reset(memory, meshesCount, allocator); in CreateResMeshes()
455 void* memory = allocator->Alloc(sizeof(bool) * visibilitiesConut); in CreateResMeshNodeVisibilities() local
457 if (memory == NULL) in CreateResMeshNodeVisibilities()
463 m_MeshNodeOriginalVisibilities.Reset(memory, visibilitiesConut, allocator); in CreateResMeshNodeVisibilities()