Versions Compared

Key

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

class Enlighten::IPrecompPackedSystem

    └>Geo::IGeoSerialisable
        └>Geo::IGeoReleasable

Class encapsulating the geometry and additional data for a system, light-mapped or otherwise.

Functions

NameDescription
Create()

Create a new empty IPrecompPackedSystem that you can load data into.

Create(const IPrecompBuildParameters *)

Create a new empty IPrecompPackedSystem with tweakable parameters that you can load data into.

GetBoundingBox()

Return a bounding box of this system.

GetBuildParameters()

Return a pointer to the build parameters used when creating this system.

GetId()

Return the unique ID of this system.

GetLod(Geo::s32)

Access the IPrecompPackedSystem representing the LOD version of the system. GetLod(0) will return the pointer to the main system (i.e. this system)

GetMaxOutputPixelSize()

Return maximum world pixel size used by this system.

GetMeshSimpOutput()

Return a pointer to data that describes the result of the mesh simplification.

GetMinOutputPixelSize()

Return minimum world pixel size used by this system.

GetName()

Get the full name.

GetNumInstances()

Return the number of geometry output instances contained within this system.

GetNumLods()

LOD access For systems with no LODs generated GetNumLods will return 1 (i.e.

GetOutputHeight()

Return the hight of the system output texture.

GetOutputWidth()

Return the width of the system output texture.

GetPackedInstances()

Return a pointer to the output instances.

GetSurfaceArea()

Return total surface area of this system.

Load(IGeoInputStream &, Geo::u32)

Load an instance of this class from an IGeoInputStream.

NonCopyable(NonCopyable &&)

Defaulted to allow move.

operator=(NonCopyable &&)

Defaulted to allow move.

Release()

Free this object that was created within the Enlighten libraries.

Save(IGeoStream &, Geo::u32)

Save an instance of this class to an IGeoStream.


Anchor
a155f1f7b26080617bfb40c0bc3f6c1ce
a155f1f7b26080617bfb40c0bc3f6c1ce

static IPrecompPackedSystem* Enlighten::IPrecompPackedSystem::Create

...

public: IPrecompPackedSystem * Create()

...

Create a new empty IPrecompPackedSystem that you can load data into.


Anchor
a4a5be8359349a0ace28525c508fd4da4
a4a5be8359349a0ace28525c508fd4da4

static IPrecompPackedSystem* Enlighten::IPrecompPackedSystem::Create

...

public: IPrecompPackedSystem * Create
(
    const IPrecompBuildParameters * params
)

...

Create a new empty IPrecompPackedSystem with tweakable parameters that you can load data into.


Anchor
a5893bef7966f4ea3ab6815fa69094731
a5893bef7966f4ea3ab6815fa69094731

virtual const Geo::GeoBoundingBox& Enlighten::IPrecompPackedSystem::GetBoundingBox

...

public: const Geo::GeoBoundingBox & GetBoundingBox() const

...

Return a bounding box of this system.


Anchor
ace8f8b05c81d5c43fd5ffe3795eb7e3a
ace8f8b05c81d5c43fd5ffe3795eb7e3a

virtual const IPrecompBuildParameters* Enlighten::IPrecompPackedSystem::GetBuildParameters

...

public: const IPrecompBuildParameters * GetBuildParameters() const

...

Return a pointer to the build parameters used when creating this system.


Anchor
afac49e63e94565eefc0083ff8eab96ba
afac49e63e94565eefc0083ff8eab96ba

virtual Geo::GeoGuid Enlighten::IPrecompPackedSystem::GetId

...

public: Geo::GeoGuid GetId() const

...

Return the unique ID of this system.


Anchor
a21d25635275992fe37ed9a18efe8d95d
a21d25635275992fe37ed9a18efe8d95d

virtual const IPrecompPackedSystem* Enlighten::IPrecompPackedSystem::GetLod

...

public: const IPrecompPackedSystem * GetLod
(
    Geo::s32 lodIndex
) const

...

Access the IPrecompPackedSystem representing the LOD version of the system. GetLod(0) will return the pointer to the main system (i.e. this system)


Anchor
a65d880ac9c845129884e5a30aaf6c556
a65d880ac9c845129884e5a30aaf6c556

virtual float Enlighten::IPrecompPackedSystem::GetMaxOutputPixelSize

...

public: float GetMaxOutputPixelSize() const

...

Return maximum world pixel size used by this system.


Anchor
aa480f98e3f75129bb50cae2017575a0b
aa480f98e3f75129bb50cae2017575a0b

virtual const IMeshSimpOutput* Enlighten::IPrecompPackedSystem::GetMeshSimpOutput

...

public: const IMeshSimpOutput * GetMeshSimpOutput() const

...

Return a pointer to data that describes the result of the mesh simplification.


Anchor
a9f884ca4c5d6d7b76b4d2a04e20b402a
a9f884ca4c5d6d7b76b4d2a04e20b402a

virtual float Enlighten::IPrecompPackedSystem::GetMinOutputPixelSize

...

public: float GetMinOutputPixelSize() const

...

Return minimum world pixel size used by this system.


Anchor
a68da753efd5458ad3c11e1a56c0d84b0
a68da753efd5458ad3c11e1a56c0d84b0

virtual const char* Enlighten::IPrecompPackedSystem::GetName

...

public: const char * GetName() const

...

Get the full name.


Anchor
ade027235871bc0376ffa84c56ea1c3cd
ade027235871bc0376ffa84c56ea1c3cd

virtual Geo::s32 Enlighten::IPrecompPackedSystem::GetNumInstances

...

public: Geo::s32 GetNumInstances() const

...

Return the number of geometry output instances contained within this system.


Anchor
a7d91beb59eb05f0881956b53bad7fc76
a7d91beb59eb05f0881956b53bad7fc76

virtual Geo::s32 Enlighten::IPrecompPackedSystem::GetNumLods

...

public: Geo::s32 GetNumLods() const

...

LOD access For systems with no LODs generated GetNumLods will return 1 (i.e.

the main system is considered to be the first LOD)


Anchor
a02d68203432e2ea40ed4b340c9144e0e
a02d68203432e2ea40ed4b340c9144e0e

virtual Geo::s32 Enlighten::IPrecompPackedSystem::GetOutputHeight

...

public: Geo::s32 GetOutputHeight() const

...

Return the hight of the system output texture.


Anchor
aec3bfa60b410793280439f27e71cfba0
aec3bfa60b410793280439f27e71cfba0

virtual Geo::s32 Enlighten::IPrecompPackedSystem::GetOutputWidth

...

public: Geo::s32 GetOutputWidth() const

...

Return the width of the system output texture.


Anchor
abd7dd7922fdf44eee7253542678a42d5
abd7dd7922fdf44eee7253542678a42d5

virtual const IPrecompPackedInstance** Enlighten::IPrecompPackedSystem::GetPackedInstances

...

public: const IPrecompPackedInstance ** GetPackedInstances() const

...

Return a pointer to the output instances.


Anchor
a6ec472c2a4e226263b9cfcac8e85fe8b
a6ec472c2a4e226263b9cfcac8e85fe8b

virtual double Enlighten::IPrecompPackedSystem::GetSurfaceArea

...

public: double GetSurfaceArea() const

...

Return total surface area of this system.


Anchor
ae5fb810c8f4470cb3c9fcb16c6f7f7fe
ae5fb810c8f4470cb3c9fcb16c6f7f7fe

virtual bool Geo::IGeoSerialisable::Load

...

public: bool Load
(
    IGeoInputStream & stream,
    Geo::u32 section
)

...

Load an instance of this class from an IGeoInputStream.

The stream must be ready to read from. You can load sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will load all sections. It is also safe to call this method on an object multiple times with different section arguments to load multiple parts.


Anchor
adaed81b4c59f263dcb4e78c4126f4683
adaed81b4c59f263dcb4e78c4126f4683

Geo::NonCopyable::NonCopyable

...

public: NonCopyable
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
a6abc781e23b8f4864e0b868806e0acbf
a6abc781e23b8f4864e0b868806e0acbf

NonCopyable& Geo::NonCopyable::operator=

...

public: NonCopyable & operator=
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
af6bdf30b42adde386c428e9dc2821eb9
af6bdf30b42adde386c428e9dc2821eb9

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)'


Anchor
a5b03439626a3dac9b9c27feb1a3978d3
a5b03439626a3dac9b9c27feb1a3978d3

virtual bool Geo::IGeoSerialisable::Save

...

public: bool Save
(
    IGeoStream & stream,
    Geo::u32 section
) const

...

Save an instance of this class to an IGeoStream.

The stream must be ready to write to. You can save sections of an object by passing a bitmask representing the desired sections rather than Iff::AllSectionsMask, which will save all sections that are available.