Plasma Engine  2.0
Loading...
Searching...
No Matches
plRenderWorld Class Reference

Classes

struct  CameraConfig
 

Static Public Member Functions

static plViewHandle CreateView (const char *szName, plView *&out_pView)
 
static void DeleteView (const plViewHandle &hView)
 
static bool TryGetView (const plViewHandle &hView, plView *&out_pView)
 
static plViewGetViewByUsageHint (plCameraUsageHint::Enum usageHint, plCameraUsageHint::Enum alternativeUsageHint=plCameraUsageHint::None, const plWorld *pWorld=nullptr)
 Searches for an plView with the desired usage hint or alternative usage hint.
 
static void AddMainView (const plViewHandle &hView)
 
static void RemoveMainView (const plViewHandle &hView)
 
static void ClearMainViews ()
 
static plArrayPtr< plViewHandleGetMainViews ()
 
static void CacheRenderData (const plView &view, const plGameObjectHandle &hOwnerObject, const plComponentHandle &hOwnerComponent, plUInt16 uiComponentVersion, plArrayPtr< plInternal::RenderDataCacheEntry > cacheEntries)
 
static void DeleteAllCachedRenderData ()
 
static void DeleteCachedRenderData (const plGameObjectHandle &hOwnerObject, const plComponentHandle &hOwnerComponent)
 
static void DeleteCachedRenderDataForObject (const plGameObject *pOwnerObject)
 
static void DeleteCachedRenderDataForObjectRecursive (const plGameObject *pOwnerObject)
 
static void ResetRenderDataCache (plView &ref_view)
 
static plArrayPtr< const plInternal::RenderDataCacheEntryGetCachedRenderData (const plView &view, const plGameObjectHandle &hOwner, plUInt16 uiComponentVersion)
 
static void AddViewToRender (const plViewHandle &hView)
 
static void ExtractMainViews ()
 
static void Render (plRenderContext *pRenderContext)
 
static void BeginFrame ()
 
static void EndFrame ()
 
static const plEvent< const plRenderWorldExtractionEvent &, plMutex > & GetExtractionEvent ()
 
static const plEvent< const plRenderWorldRenderEvent &, plMutex > & GetRenderEvent ()
 
static bool GetUseMultithreadedRendering ()
 
static PL_ALWAYS_INLINE void ResetFrameCounter ()
 Resets the frame counter to zero. Only for test purposes !
 
static PL_ALWAYS_INLINE plUInt64 GetFrameCounter ()
 
static PL_FORCE_INLINE plUInt32 GetDataIndexForExtraction ()
 
static PL_FORCE_INLINE plUInt32 GetDataIndexForRendering ()
 
static bool IsRenderingThread ()
 

Static Public Attributes

static plEvent< plView *, plMutexs_ViewCreatedEvent
 
static plEvent< plView *, plMutexs_ViewDeletedEvent
 

Friends

class plView
 
class plRenderPipeline
 

Render To Texture

static plEvent< void * > s_CameraConfigsModifiedEvent
 
static void BeginModifyCameraConfigs ()
 
static void EndModifyCameraConfigs ()
 
static void ClearCameraConfigs ()
 
static void SetCameraConfig (const char *szName, const CameraConfig &config)
 
static const CameraConfigFindCameraConfig (const char *szName)
 

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