ProbeRenderInst
Engine/source/renderInstance/renderProbeMgr.h
Public Types
enum
ProbeShapeType { Box = 0 Sphere = 1 Skylight = 2 }
Public Attributes
bool
bool
Public Functions
bool
set(const ProbeRenderInst * probeInfo)
setPosition(const Point3F & pos)
setPriority(F32 priority)
setTransform(const MatrixF & xfm)
Detailed Description
Public Types
ProbeShapeType
Enumerator
- Box = 0
Sphere shaped.
- Sphere = 1
Box-based shape.
- Skylight = 2
Public Attributes
F32 mAtten
Box3F mBounds
U32 mCubemapIndex
bool mDirty
Point3F mExtents
GFXCubemapHandle mIrradianceCubemap
bool mIsEnabled
Point3F mPosition
GFXCubemapHandle mPrefilterCubemap
F32 mPriority
The priority of this light used for light and shadow scoring.
U32 mProbeIdx
Point3F mProbeRefOffset
Point3F mProbeRefScale
ProbeShapeType mProbeShapeType
F32 mRadius
F32 mScore
A temporary which holds the score used when prioritizing lights for rendering.
MatrixF mTransform
Public Functions
ProbeRenderInst()
~ProbeRenderInst()
clear()
getPosition()
getPriority()
getScore()
getTransform()
operator==(const ProbeRenderInst & b)
set(const ProbeRenderInst * probeInfo)
setPosition(const Point3F & pos)
setPriority(F32 priority)
setScore(F32 score)
setTransform(const MatrixF & xfm)