BVB Source Codes

CRYENGINE Show 3DEngineMemory.cpp Source code

Return Download CRYENGINE: download 3DEngineMemory.cpp Source code - Download CRYENGINE Source code - Type:.cpp
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. // -------------------------------------------------------------------------
  4. //  File name:   3DEngineMemory.h
  5. //  Version:     v1.00
  6. //  Created:     23/04/2010 by Chris Raine.
  7. //  Compilers:   Visual Studio.NET
  8. // -------------------------------------------------------------------------
  9. //  History:
  10. ////////////////////////////////////////////////////////////////////////////
  11. #include "StdAfx.h"
  12. #include "3DEngineMemory.h"
  13.  
  14. // Static CTemporaryPool instance
  15. CTemporaryPool* CTemporaryPool::s_Instance = NULL;
  16.  
  17. namespace util
  18. {
  19. void* pool_allocate(size_t nSize)
  20. {
  21.         return CTemporaryPool::Get()->Allocate(nSize, 8);
  22. }
  23. void pool_free(void* ptr)
  24. {
  25.         return CTemporaryPool::Get()->Free(ptr);
  26. }
  27. }
  28.  
download3DEngineMemory.cpp Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top