This is the documentation for Enlighten.
class Enlighten CpuCubeMap
class Enlighten::CpuCubeMap
└>Enlighten::BaseCubeMap
└>Geo::IGeoReleasable
Derived class of BaseCubeMap used by the CPU and console update managers.
Implementations need to provide interface to copy solution in memory to textures.
Variables
Name | Description |
|---|---|
const InputLightingBuffer ** m_InputLightingList | Constant input data passed in and owned by the application. |
Geo::u32 m_InputLightingListHash | Hash of the input lighting Guids last time the InputLightingList was built. |
bool m_NewSolverOutputToCopy | Flag set when there is fresh output to copy to the GPU. |
const BounceBuffer ** m_RadiosityOnlyInputLightingList | Ordered list of pointers to BounceBuffers allocated and owned by each CpuSystem on which the cube map depends. |
Geo::GeoArray< CpuSystem * > m_SystemInputWorkspaceDependencies | Array of system dependencies in the correct order for passing input lighting buffers to the solve task. |
Functions
Name | Description |
|---|---|
Constructor. | |
Frees all memory required to update the cube map, and disables further updates. | |
Returns the pitch that Enlighten should use when writing the output buffer (texture) | |
Returns the memory location where Enlighten should write the output. | |
Whether this cube map has a mip chain. | |
Returns true if the cube map is static. | |
Are any irradiance buffers marked for an update? | |
Mark solution buffer as requiring update in next call to UpdateGpuTexture. | |
PrepareInputLightingList(Geo::GeoArray< const InputLightingBuffer * > &, Geo::u32) | Prepare the InputLightingBuffer list for the solver. |
Free this object that was created within the Enlighten libraries. | |
Free this object that was created within the Enlighten libraries. | |
Property-setting functions which can be enqueued with EnqueueSetObjectParameter. | |
Property-setting functions which can be enqueued with EnqueueSetObjectParameter. | |
Sets an output texture for the system. | |
Property-setting functions which can be enqueued with EnqueueSetObjectParameter. | |
Update textures using the marked solution buffers. |
Enlighten::CpuCubeMap::CpuCubeMap
public: CpuCubeMap()
Constructor.
virtual void Enlighten::CpuCubeMap::DisableUpdatesAndFreeMemory
public: virtual void DisableUpdatesAndFreeMemory()
Frees all memory required to update the cube map, and disables further updates.