System_Interface_Definitions

Definitions of functions, types and variables.

CreateSystemInterface Function
C++
CRYSYSTEM_API ISystem* CreateSystemInterface(const SSystemInitParams & initParams);
File

ISystem.h

cryAsyncMemcpy Function
C++
CRY_ASYNC_MEMCPY_API void cryAsyncMemcpy(void* dst, const void* src, size_t size, int nFlags, volatile int* sync);
File

ISystem.h

ModuleInitISystem Function
C++
DLL_EXPORT void ModuleInitISystem(ISystem * pSystem, const char * moduleName);
File

ISystem.h

Description

This function must be called once by each module at the beginning, to setup global pointers.

PRINTF_PARAMS Function
C++
PRINTF_PARAMS(3, 4);
File

ISystem.h

FrameProfilerSectionCallback Type

Typedef for frame profile callback function.

C++
typedef void (* FrameProfilerSectionCallback)(class CFrameProfilerSection *pSection);
File

ISystem.h

PFNCREATESYSTEMINTERFACE Type
C++
typedef ISystem* (* PFNCREATESYSTEMINTERFACE)(SSystemInitParams &initParams);
File

ISystem.h

Description

CrySystem DLL Exports.

g_bProfilerEnabled Variable
C++
bool g_bProfilerEnabled;
File

ISystem.h

g_iTraceAllocations Variable
C++
int g_iTraceAllocations;
File

ISystem.h

gEnv Variable
C++
SC_API DLL_EXPORT SSystemGlobalEnvironment* gEnv;
File

ISystem.h

Description

Global environment variable.

UAsyncDipState Union
C++
union UAsyncDipState {
  struct {
    uint32 nQueueGuard : 1;
    uint32 nWorker_Idle : 4;
    uint32 nNumJobs : 27;
  };
  uint32 nValue;
};
File

ISystem.h

Description

Union to handle communication between the AsycDIP jobs and the general job system. To allow usage of CAS all informations are encoded in 32 bit