Plasma Engine  2.0
Loading...
Searching...
No Matches
plClusteredDataCPU Class Reference
Inheritance diagram for plClusteredDataCPU:

Public Types

enum  { MAX_LIGHT_DATA = 1024 , MAX_DECAL_DATA = 1024 , MAX_REFLECTION_PROBE_DATA = 1024 , MAX_ITEMS_PER_CLUSTER = 256 }
 
- Public Types inherited from plRenderData
using SortingKeyFunc = plUInt64 (*)(const plRenderData*, const plCamera&)
 This function generates a 64bit sorting key for the given render data. Data with lower sorting key is rendered first.
 

Public Attributes

plArrayPtr< plPerLightData > m_LightData
 
plArrayPtr< plPerDecalData > m_DecalData
 
plArrayPtr< plPerReflectionProbeData > m_ReflectionProbeData
 
plArrayPtr< plPerClusterData > m_ClusterData
 
plArrayPtr< plUInt32 > m_ClusterItemList
 
plUInt32 m_uiSkyIrradianceIndex = 0
 
plEnum< plCameraUsageHintm_cameraUsageHint = plCameraUsageHint::Default
 
float m_fFogHeight = 0.0f
 
float m_fFogHeightFalloff = 0.0f
 
float m_fFogDensityAtCameraPos = 0.0f
 
float m_fFogDensity = 0.0f
 
float m_fFogInvSkyDistance = 0.0f
 
plColor m_FogColor = plColor::Black
 
- Public Attributes inherited from plRenderData
plTransform m_LastGlobalTransform = plTransform::MakeIdentity()
 
plTransform m_GlobalTransform = plTransform::MakeIdentity()
 
plBoundingBoxSphere m_GlobalBounds
 
plUInt32 m_uiBatchId = 0
 BatchId is used to group render data in batches.
 
plUInt32 m_uiSortingKey = 0
 
float m_fSortingDepthOffset = 0.0f
 
plGameObjectHandle m_hOwner
 

Additional Inherited Members

- Public Member Functions inherited from plRenderData
plUInt64 GetCategorySortingKey (Category category, const plCamera &camera) const
 
- Public Member Functions inherited from plReflectedClass
virtual const plRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const plRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
PL_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 
- Static Public Member Functions inherited from plRenderData
static Category RegisterCategory (const char *szCategoryName, SortingKeyFunc sortingKeyFunc)
 
static Category FindCategory (plTempHashedString sCategoryName)
 
static void GetAllCategoryNames (plDynamicArray< plHashedString > &out_categoryNames)
 
static const plRendererGetCategoryRenderer (Category category, const plRTTI *pRenderDataType)
 
static plHashedString GetCategoryName (Category category)
 
- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 

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