Versions Compared

Key

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

class Enlighten::DynamicMaterialWorkspace

Enlighten object used for dynamic material updates at runtime.

Functions

NameDescription
CalculateSize(const ClusterMaterials *)

Calculates the size (in bytes) required for a DynamicMaterialWorkspace.

ConvertEndian(Geo::EConvertEndianMode)

Convert the endian-ness of this DynamicMaterialWorkspace.

Copy(const DynamicMaterialWorkspace &)

Copy the given DynamicMaterialWorkspace into this one.

Create(const ClusterMaterials *, void *)

Creates a DynamicMaterialWorkspace.

Create(const DynamicMaterialWorkspace &, void *)

Creates a DynamicMaterialWorkspace.

GetMaterialAlbedo(Geo::u32)

Gets the material component with the given index.

GetMaterialAlbedo(Geo::u32)

Gets the material component with the given index.

GetMaterialEmissive(Geo::u32)

Gets the material component with the given index.

GetMaterialEmissive(Geo::u32)

Gets the material component with the given index.

GetMaterialTransparency(Geo::u32)

Gets the material component with the given index.

GetMaterialTransparency(Geo::u32)

Gets the material component with the given index.

GetSize()

Gets the total size (in bytes) of this DynamicMaterialWorkspace.

IsAlbedoInitialiseRequired()

Albedo.

IsAlbedoUpdateRequired()

Albedo.

IsEmissiveInitialiseRequired()

Emissive.

IsEmissiveUpdateRequired()

Emissive.

IsTransparencyInitialiseRequired()

Transparency.

IsTransparencyUpdateRequired()

Transparency.

NonCopyable(NonCopyable &&)

Defaulted to allow move.

operator=(NonCopyable &&)

Defaulted to allow move.

SetAlbedoInitialised()

Albedo.

SetAlbedoRequiresInitialise()

Albedo.

SetAlbedoRequiresUpdate()

Albedo.

SetAlbedoUpdated()

Albedo.

SetEmissiveInitialised()

Emissive.

SetEmissiveRequiresInitialise()

Emissive.

SetEmissiveRequiresUpdate()

Emissive.

SetEmissiveUpdated()

Emissive.

SetTransparencyInitialised()

Transparency.

SetTransparencyRequiresInitialise()

Transparency.

SetTransparencyRequiresUpdate()

Transparency.

SetTransparencyUpdated()

Transparency.

Enums

NameDescription
Status

Status for material components.


Anchor
a62033a20606b30169432db0151c0423e
a62033a20606b30169432db0151c0423e

static Geo::u32 Enlighten::DynamicMaterialWorkspace::CalculateSize

...

public: Geo::u32 CalculateSize
(
    const ClusterMaterials * materials
)

...

Calculates the size (in bytes) required for a DynamicMaterialWorkspace.


Anchor
a8eb094ca1a9e42d64e912341d6ea7c4e
a8eb094ca1a9e42d64e912341d6ea7c4e

void Enlighten::DynamicMaterialWorkspace::ConvertEndian

...

public: void ConvertEndian
(
    Geo::EConvertEndianMode mode
)

...

Convert the endian-ness of this DynamicMaterialWorkspace.


Anchor
acaf7a2c8612aa7eec4c11c312139df36
acaf7a2c8612aa7eec4c11c312139df36

bool Enlighten::DynamicMaterialWorkspace::Copy

...

public: bool Copy
(
    const DynamicMaterialWorkspace & source
)

...

Copy the given DynamicMaterialWorkspace into this one.


Anchor
a3949f3df8e8ebdf101b63a916c4dde03
a3949f3df8e8ebdf101b63a916c4dde03

static DynamicMaterialWorkspace* Enlighten::DynamicMaterialWorkspace::Create

...

public: DynamicMaterialWorkspace * Create
(
    const ClusterMaterials * materials,
    void * memory
)

...

Creates a DynamicMaterialWorkspace.


Anchor
a45cb79639c657d16c54c3e9800a8901c
a45cb79639c657d16c54c3e9800a8901c

static DynamicMaterialWorkspace* Enlighten::DynamicMaterialWorkspace::Create

...

public: DynamicMaterialWorkspace * Create
(
    const DynamicMaterialWorkspace & source,
    void * memory
)

...

Creates a DynamicMaterialWorkspace.


Anchor
a23437d6fc96e02929b94f25b80691f61
a23437d6fc96e02929b94f25b80691f61

MaterialAlbedoComponent* Enlighten::DynamicMaterialWorkspace::GetMaterialAlbedo

...

public: MaterialAlbedoComponent * GetMaterialAlbedo
(
    Geo::u32 materialIndex
)

...

Gets the material component with the given index.


Anchor
a28019c1a5668975c3fa18c878a8bec0b
a28019c1a5668975c3fa18c878a8bec0b

const MaterialAlbedoComponent* Enlighten::DynamicMaterialWorkspace::GetMaterialAlbedo

...

public: const MaterialAlbedoComponent * GetMaterialAlbedo
(
    Geo::u32 materialIndex
) const

...

Gets the material component with the given index.


Anchor
a08b5d90de28ab244226674946ce966b7
a08b5d90de28ab244226674946ce966b7

MaterialEmissiveComponent* Enlighten::DynamicMaterialWorkspace::GetMaterialEmissive

...

public: MaterialEmissiveComponent * GetMaterialEmissive
(
    Geo::u32 materialIndex
)

...

Gets the material component with the given index.


Anchor
a66652b669b0d50c1da56a14d4c98b9c1
a66652b669b0d50c1da56a14d4c98b9c1

const MaterialEmissiveComponent* Enlighten::DynamicMaterialWorkspace::GetMaterialEmissive

...

public: const MaterialEmissiveComponent * GetMaterialEmissive
(
    Geo::u32 materialIndex
) const

...

Gets the material component with the given index.


Anchor
a2f5b08faaf30f5af09e23a1b6770c216
a2f5b08faaf30f5af09e23a1b6770c216

MaterialTransparencyComponent* Enlighten::DynamicMaterialWorkspace::GetMaterialTransparency

...

public: MaterialTransparencyComponent * GetMaterialTransparency
(
    Geo::u32 materialIndex
)

...

Gets the material component with the given index.


Anchor
aeae62a2190977ddb53ffdf3f3a9edccc
aeae62a2190977ddb53ffdf3f3a9edccc

const MaterialTransparencyComponent* Enlighten::DynamicMaterialWorkspace::GetMaterialTransparency

...

public: const MaterialTransparencyComponent * GetMaterialTransparency
(
    Geo::u32 materialIndex
) const

...

Gets the material component with the given index.


Anchor
a8df8044546b1d1a8d83b16c5dd298e08
a8df8044546b1d1a8d83b16c5dd298e08

Geo::u32 Enlighten::DynamicMaterialWorkspace::GetSize

...

public: Geo::u32 GetSize() const

...

Gets the total size (in bytes) of this DynamicMaterialWorkspace.


Anchor
ae2ae2754553a497f86d11ff8faecd09c
ae2ae2754553a497f86d11ff8faecd09c

bool Enlighten::DynamicMaterialWorkspace::IsAlbedoInitialiseRequired

...

public: bool IsAlbedoInitialiseRequired() const

...

Albedo.


Anchor
aa42ef267f3df08bb6abfe77eccd72373
aa42ef267f3df08bb6abfe77eccd72373

bool Enlighten::DynamicMaterialWorkspace::IsAlbedoUpdateRequired

...

public: bool IsAlbedoUpdateRequired() const

...

Albedo.


Anchor
a378de70289e31b5dc310c8861b714a65
a378de70289e31b5dc310c8861b714a65

bool Enlighten::DynamicMaterialWorkspace::IsEmissiveInitialiseRequired

...

public: bool IsEmissiveInitialiseRequired() const

...

Emissive.


Anchor
affd32cc5c834e4588059f610c5606af7
affd32cc5c834e4588059f610c5606af7

bool Enlighten::DynamicMaterialWorkspace::IsEmissiveUpdateRequired

...

public: bool IsEmissiveUpdateRequired() const

...

Emissive.


Anchor
a89b0eb11edfe66988a0794be5c88dbf7
a89b0eb11edfe66988a0794be5c88dbf7

bool Enlighten::DynamicMaterialWorkspace::IsTransparencyInitialiseRequired

...

public: bool IsTransparencyInitialiseRequired() const

...

Transparency.


Anchor
a39e8a0cde2d4ca37237b4e746442f9f1
a39e8a0cde2d4ca37237b4e746442f9f1

bool Enlighten::DynamicMaterialWorkspace::IsTransparencyUpdateRequired

...

public: bool IsTransparencyUpdateRequired() const

...

Transparency.


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

void Enlighten::DynamicMaterialWorkspace::SetAlbedoInitialised

...

public: void SetAlbedoInitialised()

...

Albedo.


Anchor
ac75e7bc7bb9948d07bd78c3dbf7cf2b3
ac75e7bc7bb9948d07bd78c3dbf7cf2b3

void Enlighten::DynamicMaterialWorkspace::SetAlbedoRequiresInitialise

...

public: void SetAlbedoRequiresInitialise()

...

Albedo.


Anchor
acaf52f3c13148db80a1fc1fab9b98066
acaf52f3c13148db80a1fc1fab9b98066

void Enlighten::DynamicMaterialWorkspace::SetAlbedoRequiresUpdate

...

public: void SetAlbedoRequiresUpdate()

...

Albedo.


Anchor
ac1395bd575c54295a78f58f5d57b5789
ac1395bd575c54295a78f58f5d57b5789

void Enlighten::DynamicMaterialWorkspace::SetAlbedoUpdated

...

public: void SetAlbedoUpdated()

...

Albedo.


Anchor
a31200a10286f28dadadd29d4a2f11784
a31200a10286f28dadadd29d4a2f11784

void Enlighten::DynamicMaterialWorkspace::SetEmissiveInitialised

...

public: void SetEmissiveInitialised()

...

Emissive.


Anchor
a7efe7d0b4d8e0a16441cebee974d1eb7
a7efe7d0b4d8e0a16441cebee974d1eb7

void Enlighten::DynamicMaterialWorkspace::SetEmissiveRequiresInitialise

...

public: void SetEmissiveRequiresInitialise()

...

Emissive.


Anchor
a668e04b411a830c418589b0d41e4e65a
a668e04b411a830c418589b0d41e4e65a

void Enlighten::DynamicMaterialWorkspace::SetEmissiveRequiresUpdate

...

public: void SetEmissiveRequiresUpdate()

...

Emissive.


Anchor
a83656705229ab64b50a1719740162432
a83656705229ab64b50a1719740162432

void Enlighten::DynamicMaterialWorkspace::SetEmissiveUpdated

...

public: void SetEmissiveUpdated()

...

Emissive.


Anchor
a3eefa0fd56afe5262529e2e16beb5baf
a3eefa0fd56afe5262529e2e16beb5baf

void Enlighten::DynamicMaterialWorkspace::SetTransparencyInitialised

...

public: void SetTransparencyInitialised()

...

Transparency.


Anchor
a755a5a886af6f0761fc48bc5e518ba22
a755a5a886af6f0761fc48bc5e518ba22

void Enlighten::DynamicMaterialWorkspace::SetTransparencyRequiresInitialise

...

public: void SetTransparencyRequiresInitialise()

...

Transparency.


Anchor
a5fa6e765dc14e1377c2dba600649dbe5
a5fa6e765dc14e1377c2dba600649dbe5

void Enlighten::DynamicMaterialWorkspace::SetTransparencyRequiresUpdate

...

public: void SetTransparencyRequiresUpdate()

...

Transparency.


Anchor
a7dd7fe6b2dc5cae2d93f460e033bd01c
a7dd7fe6b2dc5cae2d93f460e033bd01c

void Enlighten::DynamicMaterialWorkspace::SetTransparencyUpdated

...

public: void SetTransparencyUpdated()

...

Transparency.


Anchor
a9094d1c4553695fb8e905965bdac0130
a9094d1c4553695fb8e905965bdac0130

Status

...

public: enum Status
{
    STATUS_OK = 0,
    STATUS_REQUIRES_UPDATE = 1,
    STATUS_REQUIRES_INITIALISE = 2
}

...

Status for material components.

enumerators
STATUS_OK
STATUS_REQUIRES_UPDATE
STATUS_REQUIRES_INITIALISE