XII Release 0.1.0
Loading...
Searching...
No Matches
xiiClusteredDataCPU Class Reference
Inheritance diagram for xiiClusteredDataCPU:
[legend]

Public Attributes

xiiArrayPtr< xiiPerLightData > m_LightData
 
xiiArrayPtr< xiiPerDecalData > m_DecalData
 
xiiArrayPtr< xiiPerReflectionProbeData > m_ReflectionProbeData
 
xiiArrayPtr< xiiPerClusterData > m_ClusterData
 
xiiArrayPtr< xiiUInt32 > m_ClusterItemList
 
xiiUInt32 m_uiSkyIrradianceIndex = 0
 
xiiEnum< xiiCameraUsageHintm_cameraUsageHint = xiiCameraUsageHint::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
 
xiiColor m_FogColor = xiiColor::Black
 
- Public Attributes inherited from xiiRenderData
xiiTransform m_GlobalTransform = xiiTransform::MakeIdentity()
 
xiiBoundingBoxSphere m_GlobalBounds
 
xiiUInt32 m_uiSortingKey = 0
 
float m_fSortingDepthOffset = 0.0f
 
xiiGameObjectHandle m_hOwner
 

Static Public Attributes

static constexpr xiiUInt32 MAX_LIGHT_DATA = 1024U
 
static constexpr xiiUInt32 MAX_DECAL_DATA = 1024U
 
static constexpr xiiUInt32 MAX_REFLECTION_PROBE_DATA = 1024U
 
static constexpr xiiUInt32 MAX_ITEMS_PER_CLUSTER = 256U
 

Additional Inherited Members

- Public Types inherited from xiiRenderData
using SortingKeyFunc = xiiUInt64 (*)(const xiiRenderData*, const xiiCamera&)
 This function generates a 64bit sorting key for the given render data. Data with lower sorting key is rendered first.
 
- Public Member Functions inherited from xiiRenderData
xiiUInt64 GetFinalSortingKey (Category category, const xiiCamera &camera) const
 Returns the final sorting for this render data with the given category and camera.
 
virtual bool CanBatch (const xiiRenderData &other) const
 Returns whether this render data and the other render data can be batched together, e.g. rendered in one draw call. An implementation can assume that the other render data is of the same type as this render data.
 
- Public Member Functions inherited from xiiReflectedClass
virtual const xiiRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const xiiRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T>
XII_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 xiiRenderData
static Category RegisterCategory (xiiStringView sCategoryName, SortingKeyFunc sortingKeyFunc)
 
static Category FindCategory (xiiTempHashedString sCategoryName)
 
static xiiHashedString GetCategoryName (Category category)
 
static void GetAllCategoryNames (xiiDynamicArray< xiiHashedString > &out_categoryNames)
 
static const xiiRendererGetCategoryRenderer (Category category, const xiiRTTI *pRenderDataType)
 
- Static Public Member Functions inherited from xiiNoBase
static const xiiRTTIGetStaticRTTI ()
 

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