Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 4.03 Documentation
Results will update as you type.
  • Modules
  • Namespaces
    • namespace Enlighten
      • class Enlighten A8CpuTextureSampler
      • class Enlighten Alpha8Normalised
      • class Enlighten AsyncTaskThreadGroup
      • class Enlighten BakedProbeOutputInfo
      • class Enlighten BakeInputLight
      • class Enlighten BakeInputMeshInfo
      • class Enlighten BakeMaterialInfo
      • class Enlighten BaseAlbedoHandler
      • class Enlighten BaseCubeMap
      • class Enlighten BaseDynamicObject
      • class Enlighten BaseEnvironment
      • class Enlighten BaseProbeSet
      • class Enlighten BaseSystem
      • class Enlighten BaseSystemSolutionSpace
      • class Enlighten BaseWorker
      • class Enlighten BoundingBox2D
      • class Enlighten BoxSpotlight
      • class Enlighten BoxVolume
      • class Enlighten CallableEnqueueFunctorCommand
      • class Enlighten ClusterAlbedoWorkspaceMaterialData
      • class Enlighten ClusterMaterialComponent
      • class Enlighten ClusterMaterials
      • class Enlighten ClusterProbeTransparencySampleData
      • class Enlighten ClusterRange
      • class Enlighten Command
      • class Enlighten ConstLightValueIterator
      • class Enlighten CopyAlbedoBufferInfo
      • class Enlighten CopyBounceBufferInfo
      • class Enlighten CopyEmissiveBufferInfo
      • class Enlighten CopyEmissiveEnvironmentInfo
      • class Enlighten CopyInputLightingBufferInfo
      • class Enlighten CopyProbeOutputInfo
      • class Enlighten CopyRawOutputInfo
      • class Enlighten CopyTransparencyBufferInfo
      • class Enlighten CopyVisibilityBufferInfo
      • class Enlighten CpuAlbedoHandler
      • class Enlighten CpuCubeMap
      • class Enlighten CpuDynamicObject
      • class Enlighten CpuEnvironment
      • class Enlighten CpuSystem
      • class Enlighten CpuSystemSolutionSpace
      • class Enlighten CpuTextureSamplerBase
      • class Enlighten CpuWorker
      • class Enlighten DefaultGeometryTransparencySampler
      • class Enlighten DefaultThreadGroup
      • class Enlighten DirectInputLightingParameters
      • class Enlighten DirectionalLight
      • class Enlighten Dx11TextureUpdater
      • class Enlighten DynamicMaterialWorkspace
      • class Enlighten DynamicObject
      • class Enlighten EnlightenProfile
      • class Enlighten EnlightenTask
      • class Enlighten EntireProbeSetTask
      • class Enlighten FitModel
      • class Enlighten FixedTimeLimiter
      • class Enlighten Fp16CpuTextureSampler
      • class Enlighten FrustumLight
      • class Enlighten FunctorCommand
      • class Enlighten GenericColourBuffer
      • class Enlighten GeoClusterNode
      • class Enlighten GeoClusterNodeForest
      • class Enlighten GeoClusterNodeTree
      • class Enlighten GeoDirectionalPoint
      • class Enlighten GeoRayOrigin
      • class Enlighten GlTextureUpdater
      • class Enlighten GpuTextureWrapper
      • class Enlighten IAsyncTask
      • class Enlighten IBake
      • class Enlighten IBakeInputGeometryLightingNormals
      • class Enlighten IBakeInputGeometryTangents
      • class Enlighten IBakeInputGeometryUvs
      • class Enlighten IBakeInputLighting
      • class Enlighten IBakeInputMaterial
      • class Enlighten IBakeInputMeshLightingNormals
      • class Enlighten IBakeInputMeshTangents
      • class Enlighten IBakeInputMeshUvs
      • class Enlighten IBakeInputProperties
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Enlighten CpuCubeMap

    This is the documentation for Enlighten.

    class Enlighten CpuCubeMap

    Sept 09, 2025

    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
    CpuCubeMap()

    Constructor.

    DisableUpdatesAndFreeMemory()

    Frees all memory required to update the cube map, and disables further updates.

    GetOutputPitchInBytes(Geo::s32)

    Returns the pitch that Enlighten should use when writing the output buffer (texture)

    GetOutputPointer(Geo::s32)

    Returns the memory location where Enlighten should write the output.

    HasMipMaps()

    Whether this cube map has a mip chain.

    IsUpdatePending()

    Are any irradiance buffers marked for an update?

    MarkUpdate(bool)

    Mark solution buffer as requiring update in next call to UpdateGpuTexture.

    NonCopyable(NonCopyable &&)

    Defaulted to allow move.

    operator=(NonCopyable &&)

    Defaulted to allow move.

    PrepareInputLightingList(Geo::GeoArray< const InputLightingBuffer * > &, Geo::u32)

    Prepare the InputLightingBuffer list for the solver.

    Release()

    Free this object that was created within the Enlighten libraries.

    Release()

    Free this object that was created within the Enlighten libraries.

    SetEmissiveEnvironment(Geo::GeoGuid)

    Property-setting functions which can be enqueued with EnqueueSetObjectParameter.

    SetFramesPerUpdate(Geo::s32)

    Property-setting functions which can be enqueued with EnqueueSetObjectParameter.

    SetGpuTexture(IGpuTexture *)

    Sets an output texture for the system.

    SetUpdateCounter(Geo::s32)

    Property-setting functions which can be enqueued with EnqueueSetObjectParameter.

    UpdateGpuTexture()

    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.


    virtual Geo::s32 Enlighten::CpuCubeMap::GetOutputPitchInBytes


    public: virtual Geo::s32 GetOutputPitchInBytes
    (
        Geo::s32 faceIdx
    ) const


    Returns the pitch that Enlighten should use when writing the output buffer (texture)


    virtual void* Enlighten::CpuCubeMap::GetOutputPointer


    public: virtual void * GetOutputPointer
    (
        Geo::s32 faceIdx
    ) const


    Returns the memory location where Enlighten should write the output.


    virtual bool Enlighten::CpuCubeMap::HasMipMaps


    public: virtual bool HasMipMaps() const


    Whether this cube map has a mip chain.


    bool Enlighten::CpuCubeMap::IsUpdatePending


    public: bool IsUpdatePending() const


    Are any irradiance buffers marked for an update?


    virtual void Enlighten::CpuCubeMap::MarkUpdate


    public: virtual void MarkUpdate
    (
        bool v
    )


    Mark solution buffer as requiring update in next call to UpdateGpuTexture.


    Geo::NonCopyable::NonCopyable


    public: NonCopyable
    (
        NonCopyable &&
    )


    Defaulted to allow move.


    NonCopyable& Geo::NonCopyable::operator=


    public: NonCopyable & operator=
    (
        NonCopyable &&
    )


    Defaulted to allow move.


    virtual void Enlighten::CpuCubeMap::PrepareInputLightingList


    public: virtual void PrepareInputLightingList
    (
        Geo::GeoArray< const InputLightingBuffer * > & list,
        Geo::u32 hash
    )


    Prepare the InputLightingBuffer list for the solver.


    virtual void Enlighten::BaseCubeMap::Release


    protected: virtual void Release()


    Free this object that was created within the Enlighten libraries.

    Expect this to behave in a similar way to calling 'delete(this)'


    virtual void Geo::IGeoReleasable::Release


    public: void Release()


    Free this object that was created within the Enlighten libraries.

    Expect this to behave in a similar way to calling 'delete(this)'


    void Enlighten::BaseCubeMap::SetEmissiveEnvironment


    public: void SetEmissiveEnvironment
    (
        Geo::GeoGuid id
    )


    Property-setting functions which can be enqueued with EnqueueSetObjectParameter.


    void Enlighten::BaseCubeMap::SetFramesPerUpdate


    public: void SetFramesPerUpdate
    (
        Geo::s32 f
    )


    Property-setting functions which can be enqueued with EnqueueSetObjectParameter.


    virtual void Enlighten::BaseCubeMap::SetGpuTexture


    public: virtual void SetGpuTexture
    (
        IGpuTexture * gpuTexture
    )


    Sets an output texture for the system.


    void Enlighten::BaseCubeMap::SetUpdateCounter


    public: void SetUpdateCounter
    (
        Geo::s32 c
    )


    Property-setting functions which can be enqueued with EnqueueSetObjectParameter.


    void Enlighten::CpuCubeMap::UpdateGpuTexture


    public: void UpdateGpuTexture()


    Update textures using the marked solution buffers.

    , multiple selections available,
    {"serverDuration": 10, "requestCorrelationId": "3d6de754884e43a2b1a4b3625a34c998"}