Versions Compared

Key

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

class Enlighten::IPrecompInputCubeMap

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

A class representing a cube map object which the run-time can generate dynamically.

Functions

NameDescription
Create()

Create a new empty IPrecompInputCubeMap.

GetBuildParameters()

Edit the build parameters for this cube map.

GetBuildParameters()

Read only access to the build parameters for this cube map.

GetFaceWidth()

Get the width and length of face in the cube map.

GetId()

Return the unique ID of this cube map.

GetLocation()

Get the world space location of the cube map.

GetName()

Get the full name.

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.

SetFaceWidth(Geo::s32)

Set the width and length of face in the cube map.

SetId(Geo::GeoGuid)

Set the unique ID of this cube map.

SetLocation(const Geo::Matrix &)

Set the world space position and orientation of the cube map.

SetName(const char *)

Set a globally unique name.


Anchor
a16b2cf60809dfd4720421e978089b7eb
a16b2cf60809dfd4720421e978089b7eb

static IPrecompInputCubeMap* Enlighten::IPrecompInputCubeMap::Create

...

public: IPrecompInputCubeMap * Create()

...

Create a new empty IPrecompInputCubeMap.


Anchor
ae67c863a12b46d7a177ef6975f5f1f69
ae67c863a12b46d7a177ef6975f5f1f69

virtual IPrecompCubeMapBuildParameters* Enlighten::IPrecompInputCubeMap::GetBuildParameters

...

public: IPrecompCubeMapBuildParameters * GetBuildParameters()

...

Edit the build parameters for this cube map.


Anchor
a635768ad8168e308cec2dacac524186c
a635768ad8168e308cec2dacac524186c

virtual const IPrecompCubeMapBuildParameters* Enlighten::IPrecompInputCubeMap::GetBuildParameters

...

public: const IPrecompCubeMapBuildParameters * GetBuildParameters() const

...

Read only access to the build parameters for this cube map.


Anchor
adce0c8c1dc61cde797fea3cf37b14e7a
adce0c8c1dc61cde797fea3cf37b14e7a

virtual Geo::s32 Enlighten::IPrecompInputCubeMap::GetFaceWidth

...

public: Geo::s32 GetFaceWidth() const

...

Get the width and length of face in the cube map.


Anchor
a29c3de18f99c3aba43efbf1a60309427
a29c3de18f99c3aba43efbf1a60309427

virtual Geo::GeoGuid Enlighten::IPrecompInputCubeMap::GetId

...

public: Geo::GeoGuid GetId() const

...

Return the unique ID of this cube map.


Anchor
a68fb0180ff812bd3ad6a6f3e2a752530
a68fb0180ff812bd3ad6a6f3e2a752530

virtual const Geo::Matrix& Enlighten::IPrecompInputCubeMap::GetLocation

...

public: const Geo::Matrix & GetLocation() const

...

Get the world space location of the cube map.

Returns

The current location, or the identity matrix if it has not been set yet.


Anchor
a8ff78ae18234b1094192351226e3030b
a8ff78ae18234b1094192351226e3030b

virtual const char* Enlighten::IPrecompInputCubeMap::GetName

...

public: const char * GetName() const

...

Get the full name.


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

virtual bool Enlighten::IPrecompInputCubeMap::SetFaceWidth

...

public: bool SetFaceWidth
(
    Geo::s32 faceWidth
)

...

Set the width and length of face in the cube map.

Cube map faces are always square and their width must be a power of two. The minimum face width is 2. The maximum this function will allow is set to 4096, but in practice this size is impractical and is unlikely to successfully precompute. A maximum width of 256 is a more practical limit for the regular cube map solution due to the precompute time involved. The default is 16 - a 16x16x6 pixel map.

Returns

True, if the value was correctly set. False if faceWidth is not a valid face width.


Anchor
a5768309c4236c221f657b2d155771e3c
a5768309c4236c221f657b2d155771e3c

virtual void Enlighten::IPrecompInputCubeMap::SetId

...

public: void SetId
(
    Geo::GeoGuid id
)

...

Set the unique ID of this cube map.


Anchor
a96e8985002bc034ba8de5109a91ed488
a96e8985002bc034ba8de5109a91ed488

virtual bool Enlighten::IPrecompInputCubeMap::SetLocation

...

public: bool SetLocation
(
    const Geo::Matrix & location
)

...

Set the world space position and orientation of the cube map.

Parameters
[in]location

The world space location as a matrix encoding rotation and position only. Scale/skew is not supported.

Returns

True if operation succeeded, false if the value cannot be used (e.g. infs, nans, non-orthogonal, scaled)


Anchor
abc7b420d5bf4f2f05bc54cd735e7e92c
abc7b420d5bf4f2f05bc54cd735e7e92c

virtual void Enlighten::IPrecompInputCubeMap::SetName

...

public: void SetName
(
    const char * name
)

...

Set a globally unique name.