XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRenderWorld Class Reference

Classes

struct  CameraConfig
 

Static Public Member Functions

static xiiViewHandle CreateView (xiiStringView sName, xiiView *&out_pView)
 
static void DeleteView (const xiiViewHandle &hView)
 
static bool TryGetView (const xiiViewHandle &hView, xiiView *&out_pView)
 
static xiiViewGetViewByUsageHint (xiiCameraUsageHint::Enum usageHint, xiiCameraUsageHint::Enum alternativeUsageHint=xiiCameraUsageHint::None, const xiiWorld *pWorld=nullptr)
 
static void AddMainView (const xiiViewHandle &hView)
 
static void RemoveMainView (const xiiViewHandle &hView)
 
static void ClearMainViews ()
 
static xiiArrayPtr< xiiViewHandleGetMainViews ()
 
static void CacheRenderData (const xiiView &view, const xiiGameObjectHandle &hOwnerObject, const xiiComponentHandle &hOwnerComponent, xiiUInt16 uiComponentVersion, xiiArrayPtr< xiiInternal::RenderDataCacheEntry > cacheEntries)
 
static void DeleteAllCachedRenderData ()
 
static void DeleteCachedRenderData (const xiiGameObjectHandle &hOwnerObject, const xiiComponentHandle &hOwnerComponent)
 
static void DeleteCachedRenderDataForObject (const xiiGameObject *pOwnerObject)
 
static void DeleteCachedRenderDataForObjectRecursive (const xiiGameObject *pOwnerObject)
 
static void ResetRenderDataCache (xiiView &ref_view)
 
static xiiArrayPtr< const xiiInternal::RenderDataCacheEntryGetCachedRenderData (const xiiView &view, const xiiGameObjectHandle &hOwner, xiiUInt16 uiComponentVersion)
 
static void AddViewToRender (const xiiViewHandle &hView)
 
static void ExtractMainViews ()
 
static void Render ()
 
static void BeginFrame ()
 
static void EndFrame ()
 
static const xiiEvent< const xiiRenderWorldExtractionEvent &, xiiMutex > & GetExtractionEvent ()
 
static const xiiEvent< const xiiRenderWorldRenderEvent &, xiiMutex > & GetRenderEvent ()
 
static bool GetUseMultithreadedRendering ()
 
static XII_ALWAYS_INLINE void ResetFrameCounter ()
 Resets the frame counter to zero. Only for test purposes !
 
static XII_ALWAYS_INLINE xiiUInt64 GetFrameCounter ()
 
static XII_FORCE_INLINE xiiUInt32 GetDataIndexForExtraction ()
 
static XII_FORCE_INLINE xiiUInt32 GetDataIndexForRendering ()
 
static bool IsRenderingThread ()
 

Static Public Attributes

static xiiEvent< xiiView *, xiiMutexs_ViewCreatedEvent
 
static xiiEvent< xiiView *, xiiMutexs_ViewDeletedEvent
 

Friends

class xiiView
 
class xiiRenderPipeline
 

Render To Texture

static xiiEvent< void * > s_CameraConfigsModifiedEvent
 
static void BeginModifyCameraConfigs ()
 
static void EndModifyCameraConfigs ()
 
static void ClearCameraConfigs ()
 
static void SetCameraConfig (xiiStringView sName, const CameraConfig &config)
 
static const CameraConfigFindCameraConfig (xiiStringView sName)
 

The documentation for this class was generated from the following files: