Versions Compared

Key

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

class Enlighten::IPrecompSystemDuster

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

Handle to the platform-agnostic input sample points (dusters).

This class also has accessor functions for getting at the uncompressed input sample points. These are the same points used by the runtime, but the runtime versions stored in InputWorkspace have been compressed/quantised. If you need the original uncompressed versions for offline work you should take them from here.

Functions

NameDescription
Create()

Create a new empty IPrecompSystemDuster to load data into.

GetBuildParameters()

Get the build parameters this system was built with.

GetId()

Return the unique ID of this system.

GetInputSamplePointBaryCoords()

Get an array of the barycentric coordinates for each input sample point.

GetInputSamplePointFaceIndices()

Get an array of indices for each input sample point, identifying which face in its mesh this point is associated with.

GetInputSamplePointInstanceGuids()

Get an array of GUIDs for each input sample point, identifying which instance in the system this point is associated with.

GetInputSamplePointInstanceIds()

Get an array of IDs for each input sample point, identifying which instance in the system this point is associated with.

GetInputSamplePointMeshGuids()

Get an array of GUIDs for each input sample point, identifying which mesh this point is associated with.

GetInputSamplePointMeshIndices()

Get an array of indices for each input sample point, identifying which mesh in its instance this point is associated with.

GetInputSamplePointNormals()

Get an array of the input sample point normals.

GetInputSamplePointPositions()

Get an array of the input sample point positions.

GetInputSamplePointRadiosityUvs(Geo::s32)

Get an array of the input sample point radiosity UVs (in the xy components) for given (lodIndex) Lod of the System.

GetName()

Get the full name.

GetNumInputSamplePoints()

Get the number of input sample points.

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
a6d25da6362c9d608725b12062f54c72d
a6d25da6362c9d608725b12062f54c72d

static IPrecompSystemDuster* Enlighten::IPrecompSystemDuster::Create

...

public: IPrecompSystemDuster * Create()

...

Create a new empty IPrecompSystemDuster to load data into.


Anchor
af55aa66949955b301eed4a68790950be
af55aa66949955b301eed4a68790950be

virtual const IPrecompBuildParameters* Enlighten::IPrecompSystemDuster::GetBuildParameters

...

public: const IPrecompBuildParameters * GetBuildParameters() const

...

Get the build parameters this system was built with.


Anchor
a40b0869335d3a6cca127b8ef67cb1b9d
a40b0869335d3a6cca127b8ef67cb1b9d

virtual Geo::GeoGuid Enlighten::IPrecompSystemDuster::GetId

...

public: Geo::GeoGuid GetId() const

...

Return the unique ID of this system.


Anchor
a6eac23b14085ba9712c013dd590f1319
a6eac23b14085ba9712c013dd590f1319

virtual const Geo::GeoPoint2* Enlighten::IPrecompSystemDuster::GetInputSamplePointBaryCoords

...

public: const Geo::GeoPoint2 * GetInputSamplePointBaryCoords() const

...

Get an array of the barycentric coordinates for each input sample point.

The array length matches GetNumInputSamplePoints().


Anchor
aadc568224c93f92635593b2ba07342c7
aadc568224c93f92635593b2ba07342c7

virtual const Geo::s32* Enlighten::IPrecompSystemDuster::GetInputSamplePointFaceIndices

...

public: const Geo::s32 * GetInputSamplePointFaceIndices() const

...

Get an array of indices for each input sample point, identifying which face in its mesh this point is associated with.

The indices index into the face array of the associated mesh. The array length matches GetNumInputSamplePoints().


Anchor
a55350008a679105656b1b4ce4135e51f
a55350008a679105656b1b4ce4135e51f

virtual const Geo::GeoGuid* Enlighten::IPrecompSystemDuster::GetInputSamplePointInstanceGuids

...

public: const Geo::GeoGuid * GetInputSamplePointInstanceGuids() const

...

Get an array of GUIDs for each input sample point, identifying which instance in the system this point is associated with.

The GUIDs are the same GUID value provided when adding instances to an input system. The array length matches GetNumInputSamplePoints().


Anchor
a018c956750d2e252326b8a13a43f627e
a018c956750d2e252326b8a13a43f627e

virtual const Geo::s32* Enlighten::IPrecompSystemDuster::GetInputSamplePointInstanceIds

...

public: const Geo::s32 * GetInputSamplePointInstanceIds() const

...

Get an array of IDs for each input sample point, identifying which instance in the system this point is associated with.

The IDs are the same ID value provided when adding instances to an input system. The array length matches GetNumInputSamplePoints().


Anchor
a8db3907bd1f20ab232c34bc83b9588b7
a8db3907bd1f20ab232c34bc83b9588b7

virtual const Geo::GeoGuid* Enlighten::IPrecompSystemDuster::GetInputSamplePointMeshGuids

...

public: const Geo::GeoGuid * GetInputSamplePointMeshGuids() const

...

Get an array of GUIDs for each input sample point, identifying which mesh this point is associated with.

The GUIDs are the same as those provided when adding IPrecompInputMeshes to an IPrecompInputGeometry. The array length matches GetNumInputSamplePoints().


Anchor
a2914df7442fac4364fb3b74d769127af
a2914df7442fac4364fb3b74d769127af

virtual const Geo::s32* Enlighten::IPrecompSystemDuster::GetInputSamplePointMeshIndices

...

public: const Geo::s32 * GetInputSamplePointMeshIndices() const

...

Get an array of indices for each input sample point, identifying which mesh in its instance this point is associated with.

The indices index into the array of meshes in the associated geometry object. The array length matches GetNumInputSamplePoints().


Anchor
af9a46f190cea565de43b972e0d75c357
af9a46f190cea565de43b972e0d75c357

virtual const Geo::v128* Enlighten::IPrecompSystemDuster::GetInputSamplePointNormals

...

public: const Geo::v128 * GetInputSamplePointNormals() const

...

Get an array of the input sample point normals.

The w component is always 0. The array length matches GetNumInputSamplePoints().


Anchor
a4bc89b5b825d964e572d9206ec2af41f
a4bc89b5b825d964e572d9206ec2af41f

virtual const Geo::v128* Enlighten::IPrecompSystemDuster::GetInputSamplePointPositions

...

public: const Geo::v128 * GetInputSamplePointPositions() const

...

Get an array of the input sample point positions.

The w component is always 1. The array length matches GetNumInputSamplePoints().


Anchor
a029df0670bd78d68b68ac6f54823ea79
a029df0670bd78d68b68ac6f54823ea79

virtual const Geo::v128* Enlighten::IPrecompSystemDuster::GetInputSamplePointRadiosityUvs

...

public: const Geo::v128 * GetInputSamplePointRadiosityUvs
(
    Geo::s32 lodIndex
) const

...

Get an array of the input sample point radiosity UVs (in the xy components) for given (lodIndex) Lod of the System.

The z and w components are always 0. The array length matches GetNumInputSamplePoints().


Anchor
a731dc8bbbb14a648cfd98a2ee6fbba4d
a731dc8bbbb14a648cfd98a2ee6fbba4d

virtual const char* Enlighten::IPrecompSystemDuster::GetName

...

public: const char * GetName() const

...

Get the full name.


Anchor
a708b94c4818fe9d0eb1e7b829e2505bc
a708b94c4818fe9d0eb1e7b829e2505bc

virtual Geo::s32 Enlighten::IPrecompSystemDuster::GetNumInputSamplePoints

...

public: Geo::s32 GetNumInputSamplePoints() const

...

Get the number of input sample points.


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.