Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Enlighten::PipelineScene

The scene to be precomputed.

Member functions may assert or throw a PipelineError exception to indicate a violation of the API contract.

Functions

NameDescription
AddCubemap(const PipelineCubemap &)

Add a cubemap to the scene.

AddGeom(const PipelineGeom &)

Add the geom to the scene.

AddInstance(const PipelineRadiosityInstance &)

Add a radiosity instance to the scene.

AddInstance(const PipelineExcludedInstance &)

Add an excluded instance to the scene.

AddInstance(const PipelineUnlitInstance &)

Add an unlit instance to the scene.

AddInstanceParameters(const PipelineInstanceParameters &)

Add a named set of instance parameters to the scene.

AddProbeRegion(const PipelineVolumeProbeRegion &)

Add a probe region defined by a volume to the specified zone.

AddProbeRegion(const PipelineBoxSetProbeRegion &)

Add a region defined by a set of boxes to the specified probe octree.

AddProbeRegion(const PipelinePointSetProbeRegion &)

Add a region defined by a set of points to the specified probe octree.

AddProbeVolume(const PipelineProbeVolume &)

Adds a probe volume to the scene.

AddRadiosityDependencies(Geo::GeoFileString, const Dependencies &)

Limit the radiosity dependencies of the specified zone to the specified set of zone dependencies.

AddRadiosityDependencies(PipelineRadiosityGroupType, Geo::GeoFileString, const Dependencies &, const Dependencies &)

Adds a dependency set.

CreateAlbedoBuffer(InputWorkspace *)

Create a runtime object.

CreateDynamicMaterialWorkspace(ClusterAlbedoWorkspaceMaterialData *)

Create a runtime object.

CreateEmissiveBuffer(InputWorkspace *)

Create a runtime object.

DumpDebugScene(const Geo::GeoFileString &)

Dump the entire scene to a single text file for debug and test purposes.

GeomExists(const Geo::GeoFileString &)

Returns true if there is a geometry object associated with the specified name. O(1) complexity.

GetInstanceNames(const Geo::GeoFileString &)

Return the names of the instances within the specified group.

LoadClusterAlbedoWorkspaceMaterialData(const Geo::GeoFileString &, Geo::u32)

Load a precompute object from file.

LoadGeneratedSystems(const Geo::GeoFileString &)

Load a precompute object from file.

LoadInputProbeSet(const PrecompOctreeCode, const Geo::GeoFileString &)

Load a precompute object from file.

LoadInputProbeSet(const Geo::GeoFileString &)

Load a precompute object from file.

LoadInputWorkspace(const Geo::GeoFileString &, Geo::u32)

Load a precompute object from file.

LoadOctreeProbeSetCore(const PrecompOctreeCode, const Geo::GeoFileString &)

Load a precompute object from file.

LoadOutputProbeOctree(const Geo::GeoFileString &)

Load a precompute object from file.

LoadPackedGeometry(const Geo::GeoFileString &, const Geo::GeoFileString &)

Load a precompute object from file.

LoadPackedSystem(const Geo::GeoFileString &)

Load a precompute object from file.

LoadPrecomputedVisibilityData(const Geo::GeoFileString &)

Load a precompute object from file.

LoadProbeAtlasMaxima(const Geo::GeoFileString &)

Load a precompute object from file.

LoadRadCubeMapCore(const Geo::GeoFileString &)

Load a precompute object from file.

LoadRadiosityNormalTexture(const Geo::GeoFileString &)

Load a precompute object from file.

LoadRadProbeSetCore(const Geo::GeoFileString &, Geo::u32)

Load a precompute object from file.

LoadRadSystemCore(const Geo::GeoFileString &)

Load a precompute object from file.

LoadRadSystemCoreEx(const Geo::GeoFileString &, Geo::u32)

Load a precompute object from file.

LoadSystemDuster(const Geo::GeoFileString &)

Load a precompute object from file.

PipelineScene(PipelinePaths, const PipelineGlobalParameters &)

To use this class, construct an instance of the PrecomputePipeline class.

SetSceneComment(Geo::GeoFileStringView)

Add a comment to include in the scene file.

WriteScene(Geo::IGeoProgressProxy &)

Write the Enlighten scene to disk.

Enums

NameDescription
State

The set of states that an instance may transition between.

Typedefs

NameDescription
Geo::GeoArray< Geo::GeoFileString > Dependencies

Array of dependencies.

Geo::GeoArray< Geo::GeoFileString > InstanceNames

An array of instance names.

Variables

NameDescription
State m_State

The current state of this instance.


Anchor
a615ecd905122d8a6601a2e474a835001
a615ecd905122d8a6601a2e474a835001

void Enlighten::PipelineScene::AddCubemap

...

public: void AddCubemap
(
    const PipelineCubemap & cubemap
)

...

Add a cubemap to the scene.


Anchor
a803cad71bea7fa88a459d7fdc003b33f
a803cad71bea7fa88a459d7fdc003b33f

void Enlighten::PipelineScene::AddGeom

...

public: void AddGeom
(
    const PipelineGeom & geom
)

...

Add the geom to the scene.


Anchor
acdeb1e9721a7672b2ffefab900264b83
acdeb1e9721a7672b2ffefab900264b83

void Enlighten::PipelineScene::AddInstance

...

public: void AddInstance
(
    const PipelineRadiosityInstance & instance
)

...

Add a radiosity instance to the scene.


Anchor
aa01a49730f91b696116c00d5fa30fd90
aa01a49730f91b696116c00d5fa30fd90

void Enlighten::PipelineScene::AddInstance

...

public: void AddInstance
(
    const PipelineExcludedInstance & instance
)

...

Add an excluded instance to the scene.


Anchor
a3a804bd92a57a2dfe0b5fef04eafa62f
a3a804bd92a57a2dfe0b5fef04eafa62f

void Enlighten::PipelineScene::AddInstance

...

public: void AddInstance
(
    const PipelineUnlitInstance & instance
)

...

Add an unlit instance to the scene.


Anchor
acb664c88d5f4c12cb2f2a96ac629009e
acb664c88d5f4c12cb2f2a96ac629009e

void Enlighten::PipelineScene::AddInstanceParameters

...

public: void AddInstanceParameters
(
    const PipelineInstanceParameters & parameters
)

...

Add a named set of instance parameters to the scene.


Anchor
a495a094ea75710826e18114b658a2c04
a495a094ea75710826e18114b658a2c04

void Enlighten::PipelineScene::AddProbeRegion

...

public: void AddProbeRegion
(
    const PipelineVolumeProbeRegion & region
)

...

Add a probe region defined by a volume to the specified zone.


Anchor
a432490ebb18d585f7ca7ef4fe2263254
a432490ebb18d585f7ca7ef4fe2263254

void Enlighten::PipelineScene::AddProbeRegion

...

public: void AddProbeRegion
(
    const PipelineBoxSetProbeRegion & region
)

...

Add a region defined by a set of boxes to the specified probe octree.


Anchor
a5eb950ea901a4662febda3be4ad74bba
a5eb950ea901a4662febda3be4ad74bba

void Enlighten::PipelineScene::AddProbeRegion

...

public: void AddProbeRegion
(
    const PipelinePointSetProbeRegion & region
)

...

Add a region defined by a set of points to the specified probe octree.


Anchor
af74101801ce259418d52aa85dd6bfaae
af74101801ce259418d52aa85dd6bfaae

void Enlighten::PipelineScene::AddProbeVolume

...

public: void AddProbeVolume
(
    const PipelineProbeVolume & probeVolume
)

...

Adds a probe volume to the scene.


Anchor
ad9bf74b35431c0b21b16c39bf7c6371e
ad9bf74b35431c0b21b16c39bf7c6371e

void Enlighten::PipelineScene::AddRadiosityDependencies

...

public: void AddRadiosityDependencies
(
    Geo::GeoFileString zone,
    const Dependencies & dependencies
)

...

Limit the radiosity dependencies of the specified zone to the specified set of zone dependencies.


Anchor
a3690b9dbf4f9fc87f46c4b663fa5d370
a3690b9dbf4f9fc87f46c4b663fa5d370

void Enlighten::PipelineScene::AddRadiosityDependencies

...

public: void AddRadiosityDependencies
(
    PipelineRadiosityGroupType type,
    Geo::GeoFileString groupName,
    const Dependencies & dependencies,
    const Dependencies & explicitDependencies
)

...

Adds a dependency set.


Anchor
a59a5948fa336ff95b161f5cf2215dd65
a59a5948fa336ff95b161f5cf2215dd65

static AlbedoBufferPtr Enlighten::PipelineScene::CreateAlbedoBuffer

...

public: AlbedoBufferPtr CreateAlbedoBuffer
(
    InputWorkspace * inputWorkspace
)

...

Create a runtime object.

Return a unique pointer which owns the object.


Anchor
a58d08fa22cebbb7b624a73ce226c25ee
a58d08fa22cebbb7b624a73ce226c25ee

static DynamicMaterialWorkspacePtr Enlighten::PipelineScene::CreateDynamicMaterialWorkspace

...

public: DynamicMaterialWorkspacePtr CreateDynamicMaterialWorkspace
(
    ClusterAlbedoWorkspaceMaterialData * cawMaterialData
)

...

Create a runtime object.

Return a unique pointer which owns the object.


Anchor
a3267e6a5d090cb67b3b318f0e9c56052
a3267e6a5d090cb67b3b318f0e9c56052

static EmissiveBufferPtr Enlighten::PipelineScene::CreateEmissiveBuffer

...

public: EmissiveBufferPtr CreateEmissiveBuffer
(
    InputWorkspace * inputWorkspace
)

...

Create a runtime object.

Return a unique pointer which owns the object.


Anchor
ae28906f8515c1d09cbcf29dd5bc53271
ae28906f8515c1d09cbcf29dd5bc53271

void Enlighten::PipelineScene::DumpDebugScene

...

public: void DumpDebugScene
(
    const Geo::GeoFileString & filename
) const

...

Dump the entire scene to a single text file for debug and test purposes.

Note: For use only in Enlighten internal testing, may be removed in a future release!


Anchor
a2de6f0d0f763bced6cbd1814f339c7a9
a2de6f0d0f763bced6cbd1814f339c7a9

bool Enlighten::PipelineScene::GeomExists

...

public: bool GeomExists
(
    const Geo::GeoFileString & name
) const

...

Returns true if there is a geometry object associated with the specified name. O(1) complexity.


Anchor
a9c5ed420f54b785e08e9dee29421b959
a9c5ed420f54b785e08e9dee29421b959

const InstanceNames& Enlighten::PipelineScene::GetInstanceNames

...

public: const InstanceNames & GetInstanceNames
(
    const Geo::GeoFileString & group
) const

...

Return the names of the instances within the specified group.

The instances are listed in the order that they were added to the scene. Use IPrecompPackedInstance::GetInstanceId to index this array.


Anchor
a5a9e7349191edf15c1a559a350e3fe9b
a5a9e7349191edf15c1a559a350e3fe9b

CAWMaterialDataPtr Enlighten::PipelineScene::LoadClusterAlbedoWorkspaceMaterialData

...

public: CAWMaterialDataPtr LoadClusterAlbedoWorkspaceMaterialData
(
    const Geo::GeoFileString & systemName,
    Geo::u32 sections
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
abb754ca50490ce7a4dc9d7f924e0a3b7
abb754ca50490ce7a4dc9d7f924e0a3b7

GeneratedSystemsPtr Enlighten::PipelineScene::LoadGeneratedSystems

...

public: GeneratedSystemsPtr LoadGeneratedSystems
(
    const Geo::GeoFileString & zoneName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a4eb54585ec237772913df3af5a7a90bf
a4eb54585ec237772913df3af5a7a90bf

InputProbeSetPtr Enlighten::PipelineScene::LoadInputProbeSet

...

public: InputProbeSetPtr LoadInputProbeSet
(
    const PrecompOctreeCode octreeCode,
    const Geo::GeoFileString & paramsetName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
adad768db1492c0dfe6cad0b119555257
adad768db1492c0dfe6cad0b119555257

InputProbeSetPtr Enlighten::PipelineScene::LoadInputProbeSet

...

public: InputProbeSetPtr LoadInputProbeSet
(
    const Geo::GeoFileString & octreeName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a307d0ce3f5dacf53754cc77229534bbd
a307d0ce3f5dacf53754cc77229534bbd

InputWorkspacePtr Enlighten::PipelineScene::LoadInputWorkspace

...

public: InputWorkspacePtr LoadInputWorkspace
(
    const Geo::GeoFileString & systemName,
    Geo::u32 sections
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a37627b4e900379ac106a32b1fe9ba798
a37627b4e900379ac106a32b1fe9ba798

RadProbeSetCorePtr Enlighten::PipelineScene::LoadOctreeProbeSetCore

...

public: RadProbeSetCorePtr LoadOctreeProbeSetCore
(
    const PrecompOctreeCode octreeCode,
    const Geo::GeoFileString & paramsetName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a12178ac8b6b84ff9592a91d56e077af2
a12178ac8b6b84ff9592a91d56e077af2

OutputProbeOctreePtr Enlighten::PipelineScene::LoadOutputProbeOctree

...

public: OutputProbeOctreePtr LoadOutputProbeOctree
(
    const Geo::GeoFileString & octreeName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
afdf0d6037cd0e4b63e74e9e9ada014e5
afdf0d6037cd0e4b63e74e9e9ada014e5

PackedGeometryPtr Enlighten::PipelineScene::LoadPackedGeometry

...

public: PackedGeometryPtr LoadPackedGeometry
(
    const Geo::GeoFileString & geomName,
    const Geo::GeoFileString & paramsetName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a88faf1a2cee81432699e0bfa9c20d2e2
a88faf1a2cee81432699e0bfa9c20d2e2

PackedSystemPtr Enlighten::PipelineScene::LoadPackedSystem

...

public: PackedSystemPtr LoadPackedSystem
(
    const Geo::GeoFileString & systemName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a0778bff917ef584b5495f98aa35ab67d
a0778bff917ef584b5495f98aa35ab67d

PrecompVisDataPtr Enlighten::PipelineScene::LoadPrecomputedVisibilityData

...

public: PrecompVisDataPtr LoadPrecomputedVisibilityData
(
    const Geo::GeoFileString & systemName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
aa27b7aaadb526e272546ce1ac8357cea
aa27b7aaadb526e272546ce1ac8357cea

ProbeAtlasMaximaPtr Enlighten::PipelineScene::LoadProbeAtlasMaxima

...

public: ProbeAtlasMaximaPtr LoadProbeAtlasMaxima
(
    const Geo::GeoFileString & paramsetName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a07726707945031bc95fa382836c24fc4
a07726707945031bc95fa382836c24fc4

RadCubeMapCorePtr Enlighten::PipelineScene::LoadRadCubeMapCore

...

public: RadCubeMapCorePtr LoadRadCubeMapCore
(
    const Geo::GeoFileString & cubeMapName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
ab709d8b7fcd3aa190847a31ce9409039
ab709d8b7fcd3aa190847a31ce9409039

RGBXTexturePtr Enlighten::PipelineScene::LoadRadiosityNormalTexture

...

public: RGBXTexturePtr LoadRadiosityNormalTexture
(
    const Geo::GeoFileString & systemName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a4f24572c17fd305b7204ecf0290881db
a4f24572c17fd305b7204ecf0290881db

RadProbeSetCorePtr Enlighten::PipelineScene::LoadRadProbeSetCore

...

public: RadProbeSetCorePtr LoadRadProbeSetCore
(
    const Geo::GeoFileString & probeSetName,
    Geo::u32 sections
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a1b6146f8cedbe5f1bd238e41a1c7aa97
a1b6146f8cedbe5f1bd238e41a1c7aa97

RadSystemCorePtr Enlighten::PipelineScene::LoadRadSystemCore

...

public: RadSystemCorePtr LoadRadSystemCore
(
    const Geo::GeoFileString & systemName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a40ffd65afedbb4de2da94934bfd94b81
a40ffd65afedbb4de2da94934bfd94b81

RadSystemCorePtr Enlighten::PipelineScene::LoadRadSystemCoreEx

...

public: RadSystemCorePtr LoadRadSystemCoreEx
(
    const Geo::GeoFileString & systemName,
    Geo::u32 sections
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
adbf29f2cb333cb325cab0be93bb580da
adbf29f2cb333cb325cab0be93bb580da

SystemDusterPtr Enlighten::PipelineScene::LoadSystemDuster

...

public: SystemDusterPtr LoadSystemDuster
(
    const Geo::GeoFileString & systemName
) const

...

Load a precompute object from file.

Return a unique pointer which owns the object. The unique pointer is compatible with either std::move or GeoStd::Move.


Anchor
a48b3387385631221e2c91ecdcad1f7b8
a48b3387385631221e2c91ecdcad1f7b8

Enlighten::PipelineScene::PipelineScene

...

protected: PipelineScene
(
    PipelinePaths paths,
    const PipelineGlobalParameters & global
)

...

To use this class, construct an instance of the PrecomputePipeline class.

Do not directly construct an instance of PipelineScene.


Anchor
a705015991e606282ae9730c3b14c9b6c
a705015991e606282ae9730c3b14c9b6c

void Enlighten::PipelineScene::SetSceneComment

...

public: void SetSceneComment
(
    Geo::GeoFileStringView comment
)

...

Add a comment to include in the scene file.


Anchor
aef07d6d8017272a4c878d6b9974ec9d1
aef07d6d8017272a4c878d6b9974ec9d1

void Enlighten::PipelineScene::WriteScene

...

public: void WriteScene
(
    Geo::IGeoProgressProxy & progressProxy
) const

...

Write the Enlighten scene to disk.


Anchor
a046edc570033ec7bd350c971a814356d
a046edc570033ec7bd350c971a814356d

State

...

protected: enum State{}

...

The set of states that an instance may transition between.