ezEngine  Milestone 7
ezComponentManagerBase::UpdateFunctionDesc Struct Reference

Description of an update function that can be registered at the world. More...

#include <ComponentManager.h>

Public Types

enum  Phase {
  PreAsync, Async, PostAsync, PostTransform,
  PHASE_COUNT
}
 

Public Member Functions

 UpdateFunctionDesc (const UpdateFunction &function, const char *szFunctionName)
 

Public Attributes

UpdateFunction m_Function
 Delegate to the actual update function.
 
const char * m_szFunctionName
 Name of the function. Use the EZ_CREATE_COMPONENT_UPDATE_FUNCTION_DESC macro to create a description with the correct name.
 
ezHybridArray< UpdateFunction, 4 > m_DependsOn
 Array of other functions on which this function depends on. This function will be called after all its dependencies have been called.
 
Phase m_Phase
 The update phase in which this update function should be called. See ezWorld for a description on the different phases.
 
ezUInt32 m_uiGranularity
 The granularity in which batch updates should happen during the asynchronous phase. Has to be 0 for synchronous functions.
 

Detailed Description

Description of an update function that can be registered at the world.


The documentation for this struct was generated from the following file: