This is the documentation for Enlighten.
class Enlighten IPrecompSystemDuster
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
Name | Description |
---|---|
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. |
static IPrecompSystemDuster* Enlighten::IPrecompSystemDuster::Create
public: IPrecompSystemDuster * Create()
Create a new empty IPrecompSystemDuster to load data into.
virtual const IPrecompBuildParameters* Enlighten::IPrecompSystemDuster::GetBuildParameters
public: const IPrecompBuildParameters * GetBuildParameters() const
Get the build parameters this system was built with.
virtual Geo::GeoGuid Enlighten::IPrecompSystemDuster::GetId
public: Geo::GeoGuid GetId() const
Return the unique ID of this system.
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().
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().
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().
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().
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().
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().
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().
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().
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().
virtual const char* Enlighten::IPrecompSystemDuster::GetName
public: const char * GetName() const
Get the full name.
virtual Geo::s32 Enlighten::IPrecompSystemDuster::GetNumInputSamplePoints
public: Geo::s32 GetNumInputSamplePoints() const
Get the number of input sample points.
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.
Geo::NonCopyable::NonCopyable
public: NonCopyable
(
  NonCopyable &&
)
Defaulted to allow move.
NonCopyable& Geo::NonCopyable::operator=
public: NonCopyable & operator=
(
  NonCopyable &&
)
Defaulted to allow move.
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)'
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.