This is the documentation for Enlighten.
class Enlighten CpuSystemSolutionSpace
class Enlighten::CpuSystemSolutionSpace
└>Enlighten::BaseSystemSolutionSpace
└>Enlighten::ISystemSolutionSpace
└>Geo::IGeoReleasable
System solution space for the CPU solver.
Variables
Name | Description |
|---|---|
void * m_EnvBouncePersistentDataBuffer | Persistent data between environment Bounce solves. |
bool m_IsReadyForRendering | Has the output been solved at least once and is ready for rendering. |
void * m_PersistentDataBuffer | Bounce data to feed to the input lighting next frame. |
Functions
Name | Description |
|---|---|
Allocate the buffers for persistent data (bounce, temporal coherence) | |
Returns true if the system is static. | |
BaseSystemSolutionSpace(const Enlighten::RadSystemCore *, IGpuTexture *, eOutputFormat) | Constructor. |
Function to cache the pointers and strides for output textures. | |
CpuSystemSolutionSpace(const Enlighten::RadSystemCore *, IGpuTexture *, SolveType, eOutputFormat) | Constructor. |
Disable Updates and Free memory. | |
Disable Updates and Free memory. | |
Clear the flags indicating that texture updates are pending. | |
Helper function to convert the Enlighten format specifier to a device-specific format. | |
Returns the row stride of the directional output cpu data. | |
Gets/sets a flag which determines if we should do a full solve next frame. | |
Gets the env persistent data (bounce, temporal coherence). | |
Get the output format if the irradiance texture. | |
Returns the row stride of the irradiance output cpu data. | |
Returns the pitch that Enlighten should use when writing the output buffer (texture) | |
Returns the memory location where Enlighten should write the output data. | |
Get the output texture from the solution space. Useful when you use IGpuTextureAllocator to allocate the textures. | |
Get the output textures. | |
Gets the persistent data (bounce, temporal coherence). | |
Get the RadSystemCore object which this solution space represents. | |
Get the immutable Radiosity System core. | |
Gets/sets a flag which when true indicates that a solution space should have been solved but was not for some reason (e.g. | |
Determine if the environment only bounce data is present. Requires excludeEnvironmentInPrimaryBounce="true" in paramset. | |
Returns true if the texture has been solved at least once and is ready for rendering. | |
Returns true if the texture has been solved at least once and is ready for rendering. | |
Sets or clears the update status flag of the given output texture. | |
Mark a particular texture as having been updated on the worker thread. The render thread will update these textures when UpdateGpuTextures() is called. | |
Release the resources which are owned by this object. | |
Free this object that was created within the Enlighten libraries. | |
Releases owned resources. | |
Releases owned resources. | |
Gets/sets a flag which determines if we should do a full solve next frame. | |
Set the GPU textures on SystemSolutionSpace objects. This should be called via the command processor. | |
Set is ready for rendering textures flag. | |
Gets/sets a flag which when true indicates that a solution space should have been solved but was not for some reason (e.g. | |
Update the Gpu textures. This should be called on the render thread. | |
Update the Gpu textures. This should be called on the render thread. Returns true if any work was done. |