Versions Compared

Key

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

class Enlighten::IPrecompInputSystem

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

Handle to the InputSystem.

Functions

NameDescription
AddInstances(const PrecompInputInstance *, const PrecompInputInstance *)

Copy instances between [begin, end) into this object.

ClearAllMaterialInfo()

Clears all existing material properties for this system.

Create()

Create a new IPrecompInputSystem.

GetBuildParameters()

Get the build parameters for this system.

GetBuildParameters()

Get the build parameters for this system.

GetId()

Returns the globally unique ID of this system.

GetInstanceArray()

Access to the array of input instances.

GetInstanceCount()

Retrieves the number of object instances in the system.

GetMaterialInfo(Geo::GeoGuid, Geo::GeoGuid, Geo::GeoGuid, PrecompMaterialInfo &)

Retrieves the material properties that will be used for the given combination of instance, mesh and material GUID.

GetName()

Returns the globally unique name 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.

SetId(Geo::GeoGuid)

Sets the globally unique ID of this system.

SetMaterialInfo(Geo::GeoGuid, Geo::GeoGuid, Geo::GeoGuid, const PrecompMaterialInfo &)

Sets material properties for the given combination of instance, mesh and material GUIDs.

SetName(const char *)

Sets the globally unique name of this system.


Anchor
a900634d19de9da0a9fb047f820fa17b2
a900634d19de9da0a9fb047f820fa17b2

virtual bool Enlighten::IPrecompInputSystem::AddInstances

...

public: bool AddInstances
(
    const PrecompInputInstance * begin,
    const PrecompInputInstance * end
)

...

Copy instances between [begin, end) into this object.

Parameters
[in]begin

A pointer to the first element to be added

[in]end

A pointer to an element one past the last entity (as standard STL syntax)

Returns

True if operation succeeded, false if there was not enough memory to satisfy request


Anchor
a89ddef1cf4aaf6abdcc38be68fe74652
a89ddef1cf4aaf6abdcc38be68fe74652

virtual void Enlighten::IPrecompInputSystem::ClearAllMaterialInfo

...

public: void ClearAllMaterialInfo()

...

Clears all existing material properties for this system.


Anchor
a5366a0907dc48b8b8d4a2818991a4a11
a5366a0907dc48b8b8d4a2818991a4a11

static IPrecompInputSystem* Enlighten::IPrecompInputSystem::Create

...

public: IPrecompInputSystem * Create()

...

Create a new IPrecompInputSystem.


Anchor
afad77efce22f615def00dbf5e813fe1c
afad77efce22f615def00dbf5e813fe1c

virtual IPrecompBuildParameters* Enlighten::IPrecompInputSystem::GetBuildParameters

...

public: IPrecompBuildParameters * GetBuildParameters()

...

Get the build parameters for this system.


Anchor
a3e34b18e029bd16e1078273a682396b6
a3e34b18e029bd16e1078273a682396b6

virtual const IPrecompBuildParameters* Enlighten::IPrecompInputSystem::GetBuildParameters

...

public: const IPrecompBuildParameters * GetBuildParameters() const

...

Get the build parameters for this system.


Anchor
aae28f86f3373b24a8055b3bcce2e9e5a
aae28f86f3373b24a8055b3bcce2e9e5a

virtual Geo::GeoGuid Enlighten::IPrecompInputSystem::GetId

...

public: Geo::GeoGuid GetId() const

...

Returns the globally unique ID of this system.


Anchor
af68afb6c6c8e84b426d22b5c947f141e
af68afb6c6c8e84b426d22b5c947f141e

virtual const PrecompInputInstance* Enlighten::IPrecompInputSystem::GetInstanceArray

...

public: const PrecompInputInstance * GetInstanceArray() const

...

Access to the array of input instances.


Anchor
ab906349214ad18d69f71585d718bfe53
ab906349214ad18d69f71585d718bfe53

virtual Geo::s32 Enlighten::IPrecompInputSystem::GetInstanceCount

...

public: Geo::s32 GetInstanceCount() const

...

Retrieves the number of object instances in the system.


Anchor
adcbfa719083a4ecbf94cc1f4046b03ed
adcbfa719083a4ecbf94cc1f4046b03ed

virtual void Enlighten::IPrecompInputSystem::GetMaterialInfo

...

public: void GetMaterialInfo
(
    Geo::GeoGuid instanceGuid,
    Geo::GeoGuid meshGuid,
    Geo::GeoGuid materialGuid,
    PrecompMaterialInfo & outMatInfo
) const

...

Retrieves the material properties that will be used for the given combination of instance, mesh and material GUID.

If a GUID parameter is passed as GeoGuid::Invalid then the resulting material info will be that for any material use which doesn't have that GUID specified. For example, passing GeoGuid::Invalid for the instanceGuid parameter will return the material used for any instances which don't have a GUID specified.


Anchor
a4958d01f39b8572eca632d544b46c937
a4958d01f39b8572eca632d544b46c937

virtual const char* Enlighten::IPrecompInputSystem::GetName

...

public: const char * GetName() const

...

Returns the globally unique name 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.


Anchor
adf237711ce1da93a879c57fe71ebb404
adf237711ce1da93a879c57fe71ebb404

virtual void Enlighten::IPrecompInputSystem::SetId

...

public: void SetId
(
    Geo::GeoGuid systemId
)

...

Sets the globally unique ID of this system.


Anchor
a72cdcae9c92cd784f1e31f480b0ca4f3
a72cdcae9c92cd784f1e31f480b0ca4f3

virtual bool Enlighten::IPrecompInputSystem::SetMaterialInfo

...

public: bool SetMaterialInfo
(
    Geo::GeoGuid instanceGuid,
    Geo::GeoGuid meshGuid,
    Geo::GeoGuid materialGuid,
    const PrecompMaterialInfo & matInfo
)

...

Sets material properties for the given combination of instance, mesh and material GUIDs.

Passing GeoGuid::Invalid to any of the GUID parameters will result in the material properties being set for all material uses of that type. For example passing a specific instance GUID and GeoGuid::Invalid for the the mesh and material GUIDs will set all the materials uses on that instance, regardless of mesh or material. Subsequent calls to SetMaterialInfo will override (wholly or partially) material properties set by previous calls. For example, setting all materials in the entire system (by passing GeoGuid::Invalid for all three GUID params) and then setting a specific material on a specific mesh on a specific instance.


Anchor
a7651081935820a9ed35a872dfc738b28
a7651081935820a9ed35a872dfc738b28

virtual void Enlighten::IPrecompInputSystem::SetName

...

public: void SetName
(
    const char * name
)

...

Sets the globally unique name of this system.