This is the documentation for Enlighten.
class Enlighten PppiWorld
class Enlighten::PppiWorld
Updates output textures for all probe sets in the world.
Functions
Name | Description |
|---|---|
Add a probe set to the world. | |
Returns the number of blocks currently allocated within the atlas. | |
Returns the number of blocks currently allocated within the atlas. | |
Return the number of probe sets added to the world. | |
Returns the required textures. Always provide the same configuration to the constructor of PppiWorld. | |
Construct with an optional configuration. | |
Notify that the probe output changed for the given probe set. | |
Remove a probe set from the world. | |
SetOutputWorkspace(const PppiOutputWorkspace &, IPppiTextureUpdateHandler *) | Use the provided output textures. |
Use the provided probe set state callback. | |
Update(UpdatePppiStats &, const Geo::v128 &, const IViewVolumeIntersector *, float) | Update indirection texture based on the view origin. |
Update the lighting for areas not covered by any probe set. |
PppiProbeSetHandle Enlighten::PppiWorld::AddProbeSet
public: PppiProbeSetHandle AddProbeSet
(
const RadProbeSetCore * probeSet,
const float * probeOutput,
void * userData
)
Add a probe set to the world.
Parameters
[in] | probeSet | The probe set to add |
[in] | probeOutput | The output buffer where this probe set's values will be written |
[in] | userData | User defined value passed to IPppiProbeSetStateHandler::ProbeSetStateChanged. |
Geo::s32 Enlighten::PppiWorld::GetAtlasBlockCount
public: Geo::s32 GetAtlasBlockCount() const
Returns the number of blocks currently allocated within the atlas.
Use this to determine the appropriate size of the atlas.
Geo::s32 Enlighten::PppiWorld::GetAtlasTileCount
public: Geo::s32 GetAtlasTileCount() const