Versions Compared

Key

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

Defines file formats for saving run-time data structures to file and provides helper classes to drive the run-time radiosity system.

The code for Enlighten Utilities is included in the SDK distribution so that you can:

...

NameDescription
CopyAlbedoBufferBuffer(const Enlighten::InputWorkspace *, const Enlighten::AlbedoBuffer *)

Copy an InputLightingBuffer object.

CopyDynamicMaterialWorkspaceBuffer(const Enlighten::InputWorkspace *, const Enlighten::DynamicMaterialWorkspace *)

Copy an DynamicMaterialWorkspace object.

CopyEmissiveBuffer(const Enlighten::InputWorkspace *, const Enlighten::EmissiveBuffer *)

Copy an InputLightingBuffer object.

CopyIncidentLightingBuffer(const Enlighten::InputWorkspace *, const Enlighten::IncidentLightingBuffer *)

Copy an IncidentLightingBuffer object.

CopyInputLightingBuffer(const Enlighten::InputWorkspace *, const Enlighten::InputLightingBuffer *)

Copy an InputLightingBuffer object.

CopyRadCubeMapCore(const Enlighten::RadCubeMapCore *, Enlighten::RadCubeMapCore *)

Copies a RadCubeMapCore.

CopyRadSystemCore(const Enlighten::RadSystemCore *, Enlighten::RadSystemCore *)

Copies a RadSystemCore.

DeleteAlbedoBuffer(Enlighten::AlbedoBuffer *&)

Free an AlbedoBuffer object, and all the memory it owns.

DeleteClusterAlbedoWorkspaceMaterialData(Enlighten::ClusterAlbedoWorkspaceMaterialData *&)

Free an ClusterAlbedoWorkspaceMaterialData object, and all the memory (RadDataBlocks) it owns.

DeleteDynamicMaterialWorkspace(Enlighten::DynamicMaterialWorkspace *&)

Free an DynamicMaterialWorkspace object, and all the memory it owns.

DeleteEmissiveBuffer(Enlighten::EmissiveBuffer *&)

Free an EmissiveBuffer object, and all the memory it owns.

DeleteIncidentLightingBuffer(Enlighten::IncidentLightingBuffer *&)

Free an IncidentLightingBuffer object, and all the memory it owns.

DeleteInputLightingBuffer(Enlighten::InputLightingBuffer *&)

Free an InputLightingBuffer object, and all the memory it owns.

DeleteInputWorkspace(Enlighten::InputWorkspace *&)

Free an InputWorkspace object, and all the memory (RadDataBlocks) it owns.

DeletePrecomputedVisibilityData(Enlighten::PrecomputedVisibilityData *&)

Free a PrecomputedVisibilityData object, and all the memory (RadDataBlocks) it owns.

DeleteRadCubeMapCore(Enlighten::RadCubeMapCore *&)

Free a RadCubeMapCore object, and all the memory (RadDataBlocks) it owns.

DeleteRadProbeSetCore(Enlighten::RadProbeSetCore *&)

Free a RadProbeSetCore object, and all the memory (RadDataBlocks) it owns.

DeleteRadSystemCore(Enlighten::RadSystemCore *&)

Free a RadSystemCore object, and all the memory (RadDataBlocks) it owns.

DeleteTransparencyBuffer(Enlighten::TransparencyBuffer *&)

Free a TransparencyBuffer object, and all the memory it owns.

FreeDataBlockContents(RadDataBlock *)

Free a RadDataBlock object, and all the memory it owns.

GetSolverSuffix(eSolverType)

Defines a platform specific extension for some files, such as the InputWorkspace, that differ in content between platforms.

ReadAlbedoBuffer(Geo::IGeoInputStream &)

Read an AlbedoBuffer from a stream.

ReadAlbedoBufferInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadClusterAlbedoWorkspaceMaterialData(Geo::IGeoInputStream &, Geo::u32)

Read an ClusterAlbedoWorkspaceMaterialData from a stream.

ReadClusterAlbedoWorkspaceMaterialDataFromFile(const char *, Geo::u32)

Read an ClusterAlbedoWorkspaceMaterialData from file.

ReadClusterAlbedoWorkspaceMaterialDataInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadDataBlock(RadDataBlock *, Geo::IGeoInputStream &)

Read a RadDataBlock from a Geo::IGeoInputStream. Will return an object that should be released with FreeDataBlockContents().

ReadDataBlockInPlace(RadDataBlock &, char *&)

These utilities perform in-place fixup of the various enlighten data structures.

ReadDynamicMaterialWorkspace(Geo::IGeoInputStream &)

Read an DynamicMaterialWorkspace from a stream.

ReadDynamicMaterialWorkspaceInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadEmissiveBuffer(Geo::IGeoInputStream &)

Read an EmissiveBuffer from a stream.

ReadEmissiveBufferInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadIncidentLightingBuffer(Geo::IGeoInputStream &)

Read an IncidentLightingBuffer from a stream.

ReadIncidentLightingBufferInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadInputLightingBuffer(Geo::IGeoInputStream &)

Read an InputLightingBuffer from a stream.

ReadInputLightingBufferInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadInputWorkspace(Geo::IGeoInputStream &, Geo::u32)

Read an InputWorkspace from a stream.

ReadInputWorkspaceFromFile(const char *, Geo::u32)

Read an InputWorkspace from file.

ReadInputWorkspaceInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadOptionalDataBlock(RadDataBlock *, Geo::IGeoInputStream &, Geo::u32, Geo::u32)

Read or skip a RadDataBlock in a Geo::IGeoInputStream, depending on the sections requested and the id of the block.

ReadPrecomputedVisibilityData(Geo::IGeoInputStream &)

Read a PrecomputedVisibilityData struct from a stream.

ReadPrecomputedVisibilityDataFromFile(const char *)

Read a PrecomputedVisibilityData struct from a file.

ReadPrecomputedVisibilityDataInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadProbeTaskOutput(Enlighten::RadProbeTask *, Geo::IGeoInputStream &)

Read the RadProbeTask results data from a file/stream.

ReadProbeTaskOutputFromFile(Enlighten::RadProbeTask *, const char *)

Read the RadProbeTask results data from a file/stream.

ReadRadCubeMapCore(Geo::IGeoInputStream &)

Read a RadCubeMapCore from a stream.

ReadRadCubeMapCoreFromFile(const char *)

Read a RadCubeMapCore from file.

ReadRadCubeMapCoreInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadRadProbeSetCore(Geo::IGeoInputStream &, Geo::u32)

Read run-time probeset data from a file.

ReadRadProbeSetCoreFromFile(const char *, Geo::u32)

Read run-time probe set data from a file.

ReadRadProbeSetCoreInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadRadSystemCore(Geo::IGeoInputStream &, Geo::u32)

Read a RadSystemCore from a stream.

ReadRadSystemCoreFromFile(const char *, Geo::u32)

Read a RadSystemCore from file.

ReadRadSystemCoreInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

ReadRadTaskOutput(Geo::s32 &, Geo::s32 &, eOutputFormat &, eOutputFormatByteOrder &, void *, void *, void *, Geo::IGeoInputStream &)

Read the RadIrradianceTask results data from a file/stream.

ReadRadTaskOutputFromFile(Geo::s32 &, Geo::s32 &, eOutputFormat &, eOutputFormatByteOrder &, void *, void *, void *, const char *)

Read the RadIrradianceTask results data from a file.

ReadTransparencyBufferInPlace(char *, size_t)

These utilities perform in-place fixup of the various enlighten data structures.

SkipDataBlock(Geo::IGeoInputStream &)

Skip a RadDataBlock in a Geo::IGeoStream. Will advance the stream past a RadDataBlock without reading the contents.

WriteAlbedoBuffer(const Enlighten::AlbedoBuffer *, Geo::IGeoStream &)

Write an AlbedoBuffer to a stream.

WriteAlbedoBufferForInPlace(const AlbedoBuffer *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WriteClusterAlbedoWorkspaceMaterialData(const Enlighten::ClusterAlbedoWorkspaceMaterialData *, Geo::IGeoStream &)

Write an ClusterAlbedoWorkspaceMaterialData to a stream, ready to be loaded on the target platform.

WriteClusterAlbedoWorkspaceMaterialDataForInPlace(const ClusterAlbedoWorkspaceMaterialData *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WriteClusterAlbedoWorkspaceMaterialDataToFile(const Enlighten::ClusterAlbedoWorkspaceMaterialData *, const char *)

Write an ClusterAlbedoWorkspaceMaterialData to file, ready to be loaded on the target platform.

WriteDataBlock(const RadDataBlock &, Geo::IGeoStream &)

Write a RadDataBlock to a Geo::IGeoStream.

WriteDataBlockForInPlace(const RadDataBlock &, char *&)

These utilities perform in-place fixup of the various enlighten data structures.

WriteDynamicMaterialWorkspace(const Enlighten::DynamicMaterialWorkspace *, Geo::IGeoStream &)

Write an DynamicMaterialWorkspace to a stream.

WriteDynamicMaterialWorkspaceForInPlace(const DynamicMaterialWorkspace *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WriteEmissiveBuffer(const Enlighten::EmissiveBuffer *, Geo::IGeoStream &)

Write an EmissiveBuffer to a stream.

WriteEmissiveBufferForInPlace(const EmissiveBuffer *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WriteIncidentLightingBuffer(const Enlighten::IncidentLightingBuffer *, Geo::IGeoStream &)

Write an IncidentLightingBuffer to a stream.

WriteIncidentLightingBufferForInPlace(const IncidentLightingBuffer *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WriteInputLightingBuffer(const Enlighten::InputLightingBuffer *, Geo::IGeoStream &)

Write an InputLightingBuffer to a stream.

WriteInputLightingBufferForInPlace(const InputLightingBuffer *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WriteInputLightingBufferToFile(const Enlighten::InputLightingBuffer *, const char *)

Write an InputLightingBuffer to file.

WriteInputWorkspace(const Enlighten::InputWorkspace *, Geo::IGeoStream &)

Write an InputWorkspace to a stream, ready to be loaded on the target platform.

WriteInputWorkspaceForInPlace(const InputWorkspace *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WriteInputWorkspaceToFile(const Enlighten::InputWorkspace *, const char *)

Write an InputWorkspace to file, ready to be loaded on the target platform.

WritePrecomputedVisibilityData(const Enlighten::PrecomputedVisibilityData *, Geo::IGeoStream &)

Write a PrecomputedVisibilityData structure to a stream.

WritePrecomputedVisibilityDataForInPlace(const PrecomputedVisibilityData *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WritePrecomputedVisibilityDataToFile(const Enlighten::PrecomputedVisibilityData *, const char *)

Write a PrecomputedVisibilityData structure to a file.

WriteProbeTaskOutput(const Enlighten::RadProbeTask *, Geo::IGeoStream &)

Write the RadProbeTask results data to a file/stream.

WriteProbeTaskOutputToFile(const Enlighten::RadProbeTask *, const char *)

Write the RadProbeTask results data to a file/stream.

WriteRadCubeMapCore(const Enlighten::RadCubeMapCore *, Geo::IGeoStream &)

Write a RadCubeMapCore to a stream, ready to be loaded on the target platform.

WriteRadCubeMapCoreForInPlace(const RadCubeMapCore *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WriteRadCubeMapCoreToFile(const Enlighten::RadCubeMapCore *, const char *)

Write a RadCubeMapCore to file, ready to be loaded on the target platform.

WriteRadIrradianceTaskOutput(const RadIrradianceTask *, Geo::IGeoStream &)

Write the RadIrradianceTask results data to a file/stream.

WriteRadIrradianceTaskOutputToFile(const RadIrradianceTask *, const char *)

Write the RadIrradianceTask results data to a file/stream.

WriteRadProbeSetCore(const Enlighten::RadProbeSetCore *, Geo::IGeoStream &)

Write run-time probeset data to a stream, ready to be loaded on the target platform.

WriteRadProbeSetCoreForInPlace(const RadProbeSetCore *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WriteRadProbeSetCoreToFile(const Enlighten::RadProbeSetCore *, const char *)

Write run-time probeset data to file, ready to be loaded on the target platform.

WriteRadSystemCore(const Enlighten::RadSystemCore *, Geo::IGeoStream &)

Write a RadSystemCore to a stream, ready to be loaded on the target platform.

WriteRadSystemCoreForInPlace(const RadSystemCore *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

WriteRadSystemCoreToFile(const Enlighten::RadSystemCore *, const char *)

Write a RadSystemCore to file, ready to be loaded on the target platform.

WriteTransparencyBufferForInPlace(const TransparencyBuffer *, Geo::IGeoStream &, Geo::EConvertEndianMode)

These utilities perform in-place fixup of the various enlighten data structures.

...

Enlighten::AlbedoBuffer *GEO_CALL Enlighten::CopyAlbedoBufferBuffer

...

public: Enlighten::AlbedoBuffer *GEO_CALL CopyAlbedoBufferBuffer
(
    const Enlighten::InputWorkspace * inputWorkspace,
    const Enlighten::AlbedoBuffer * sourceAlbedoBuffer
)

...

Copy an InputLightingBuffer object.

...

Enlighten::EmissiveBuffer *GEO_CALL Enlighten::CopyEmissiveBuffer

...

public: Enlighten::EmissiveBuffer *GEO_CALL CopyEmissiveBuffer
(
    const Enlighten::InputWorkspace * inputWorkspace,
    const Enlighten::EmissiveBuffer * sourceEmissiveBuffer
)

...

Copy an InputLightingBuffer object.

...

public: void GEO_CALL DeleteAlbedoBuffer
(
    Enlighten::AlbedoBuffer *& albedoBuffer
)

...

Free an AlbedoBuffer object, and all the memory it owns.

...

public: void GEO_CALL DeleteEmissiveBuffer
(
    Enlighten::EmissiveBuffer *& emissiveBuffer
)

...

Free an EmissiveBuffer object, and all the memory it owns.

...

public: void GEO_CALL DeleteTransparencyBuffer
(
    Enlighten::TransparencyBuffer *& transparencyBuffer
)

...

Free a TransparencyBuffer object, and all the memory it owns.

...

Enlighten::AlbedoBuffer *GEO_CALL Enlighten::ReadAlbedoBuffer

...

public: Enlighten::AlbedoBuffer *GEO_CALL ReadAlbedoBuffer
(
    Geo::IGeoInputStream & stream
)

...

Enlighten::EmissiveBuffer *GEO_CALL Enlighten::ReadEmissiveBuffer

...

public: Enlighten::EmissiveBuffer *GEO_CALL ReadEmissiveBuffer
(
    Geo::IGeoInputStream & stream
)

...

[in]stream

- The Geo::IGeoStream to read


Anchor
aab8a5ec669fea8ed0e0f528c9cc5b578
aab8a5ec669fea8ed0e0f528c9cc5b578

Enlighten::PrecomputedVisibilityData *GEO_CALL Enlighten::ReadPrecomputedVisibilityDataFromFile

...

public: Enlighten::PrecomputedVisibilityData *GEO_CALL ReadPrecomputedVisibilityDataFromFile
(
    const char * filename
)

...

Read a PrecomputedVisibilityData struct from a file.

Parameters
[in]filename

- The name of the file to read


Anchor
ab765f917161c2517ef60f5ec1c633d20
ab765f917161c2517ef60f5ec1c633d20

...

The data is written in little-endian format, so the loading code must handle this.

Parameters
[in]stream

- The Geo::IGeoStream to read.

...

The files are written in target-endian format, so the same loading code works for all platforms.

Parameters
[in]filename

- The name of the file to read.

...

The files are written in target-endian format, so the same loading code works for all platforms.

Parameters
[in]stream

- The Geo::IGeoStream to read

[in]sections

- Pass 0 to load no optional data or any combination of the following: Enlighten::Iff::ProbeSetPrecompSection Enlighten::Iff::EntireProbeSetPrecompSection Enlighten::Iff::ProbeSetInterpolationDataSection Enlighten::Iff::ProbeSetVisibilityDataSection Enlighten::Iff::ProbeSetDebugDataSection

...

The files are written in target-endian format, so the same loading code works for all platforms. Note this doesn't do any endian swapping. It assumes you are reading/writing the file on the same platform.

Parameters
[in]filename

- The name of the file to read

[in]sections

- Pass 0 to load no optional data or any combination of the following: Enlighten::Iff::ProbeSetPrecompSection Enlighten::Iff::EntireProbeSetPrecompSection Enlighten::Iff::ProbeSetInterpolationDataSection Enlighten::Iff::ProbeSetVisibilityDataSection Enlighten::Iff::ProbeSetDebugDataSection

...

The data is written in little-endian format, so the loading code must handle this.

Parameters
[in]stream

- The Geo::IGeoInputStream to read.

[in]sections

- Which of the optional data blocks to allocate and read. Pass 0 to load no optional data, or a combination of Enlighten::Iff::ProjectionDataSection and/or Enlighten::Iff::DynamicRadiosityDataSection

...

The files are written in target-endian format, so the same loading code works for all platforms.

Parameters
[in]filename

- The name of the file to read.

[in]sections

- Which of the optional data blocks to allocate and read. Pass 0 to load no optional data, or a combination of Enlighten::Iff::ProjectionDataSection and/or Enlighten::Iff::DynamicRadiosityDataSection

...

Note
titleNote

If the output width or height are set to zero, then only the header of the file is read, and the width, height outputFormat and outputFormatByteOrder are filled in. The function then returns true. If the output size is non-zero, the function assumes that the various output pointers are large enough to hold the incoming data. In general, users should not have to call these functions in their integration.

Parameters
[out]outputWidth

- The width of the output texture

[out]outputHeight

- The height of the output texture

[out]outputFormat

- The format of the output texture

[out]outputFormatByteOrder

- The byte order of the LRB irradiance/directional output texture

[in]irradianceOutput64

- pointer large enough to hold 64-bit-per-pixel output data (e.g. FP16). Pass NULL if not required

[in]irradianceOutput32

- pointer large enough to hold 32-bit-per-pixel output data (e.g. LRB). Pass NULL if not required

[in]directionalOutput

- pointer large enough to hold directional output data. Pass NULL if not required

[in]stream

- The file stream from which to read the rad task data from


Anchor
afd79be78274f789fc2c11a07f76a47d5ad3431952b3c03003bf79753fbe6054e5afd79be78274f789fc2c11a07f76a47d5

...

ad3431952b3c03003bf79753fbe6054e5

bool GEO_CALL Enlighten::

...

ReadRadTaskOutputFromFile

...

public: TransparencyBuffer *bool GEO_CALL ReadTransparencyBufferInPlaceReadRadTaskOutputFromFile
(
    char * data Geo::s32 & outputWidth,
    size_t size
Geo::s32 & outputHeight,
    eOutputFormat & outputFormat,
    eOutputFormatByteOrder & outputFormatByteOrder,
    void * irradianceOutput64,
    void * irradianceOutput32,
    void * directionalOutput,
    const char * filename
)

...

Read the RadIrradianceTask results data from a file.

Please see ReadRadTaskOutput for details.

Parameters
[out]outputWidth

- The width of the output texture

[out]outputHeight

- The height of the output texture

[out]outputFormat

- The format of the output texture

[out]outputFormatByteOrder

- The byte order of the LRB irradiance/directional output texture

[in]irradianceOutput64

- pointer large enough to hold 64-bit-per-pixel output data (e.g. FP16). Pass NULL if not required

[in]irradianceOutput32

- pointer large enough to hold 32-bit-per-pixel output data (e.g. LRB). Pass NULL if not required

[in]directionalOutput

- pointer large enough to hold directional output data. Pass NULL if not required

[in]filename

- The name of the rad task output file to read data from


Anchor
afd79be78274f789fc2c11a07f76a47d5
afd79be78274f789fc2c11a07f76a47d5

Enlighten::TransparencyBuffer *GEO_CALL Enlighten::ReadTransparencyBufferInPlace

...

public: TransparencyBuffer *GEO_CALL ReadTransparencyBufferInPlace
(
    char * data,
    size_t size
)

...

These utilities perform in-place fixup of the various enlighten data structures.

...

public: bool GEO_CALL WriteAlbedoBuffer
(
    const Enlighten::AlbedoBuffer * albedoBuffer,
    Geo::IGeoStream & stream
)

...

Write an AlbedoBuffer to a stream.

Parameters
[in]albedoBuffer

- The AlbedoBuffer to write.

[in]stream

- The Geo::IGeoStream to write.

...

Write an ClusterAlbedoWorkspaceMaterialData to a stream, ready to be loaded on the target platform.

Parameters
[in]materialData

- The ClusterAlbedoWorkspaceMaterialData to write.

[in]stream

- The Geo::IGeoStream to write to.

...

Write an ClusterAlbedoWorkspaceMaterialData to file, ready to be loaded on the target platform.

Parameters
[in]materialData

- The ClusterAlbedoWorkspaceMaterialData to write.

[in]filename

- The name of the file to write.

...

Write an DynamicMaterialWorkspace to a stream.

Parameters
[in]materialWorkspace

- The DynamicMaterialWorkspace to write.

[in]stream

- The Geo::IGeoStream to write.

...

public: bool GEO_CALL WriteEmissiveBuffer
(
    const Enlighten::EmissiveBuffer * emissiveBuffer,
    Geo::IGeoStream & stream
)

...

Write an EmissiveBuffer to a stream.

Parameters
[in]emissiveBuffer

- The EmissiveBuffer to write.

[in]stream

- The Geo::IGeoStream to write.

...

Write an IncidentLightingBuffer to a stream.

Parameters
[in]incidentLightingBuffer

- The IncidentLightingBuffer to write.

[in]stream

- The Geo::IGeoStream to write.

...

Write an InputLightingBuffer to a stream.

Parameters
[in]inputLightingBuffer

- The InputLightingBuffer to write.

[in]stream

- The Geo::IGeoStream to write.

...

These utilities perform in-place fixup of the various enlighten data structures.

Make sure any buffers passed to Read*InPlace functions are 16 byte alignedMake sure any buffers passed to Read*InPlace functions are 16 byte aligned.


Anchor
a34d362e326dda9683d205e6b93aff8f7
a34d362e326dda9683d205e6b93aff8f7

bool GEO_CALL Enlighten::WriteInputLightingBufferToFile

...

public: bool GEO_CALL WriteInputLightingBufferToFile
(
    const Enlighten::InputLightingBuffer * inputLightingBuffer,
    const char * filename
)

...

Write an InputLightingBuffer to file.

Parameters
[in]inputLightingBuffer

- The InputLightingBuffer to write.

[in]filename

- The name of the file to write.


Anchor
a783f14e596fae91705c7af427436dad0
a783f14e596fae91705c7af427436dad0

...

Write an InputWorkspace to a stream, ready to be loaded on the target platform.

Parameters
[in]inputWorkspace

- The InputWorkspace to write.

[in]stream

- The Geo::IGeoStream to write to.

...

Write an InputWorkspace to file, ready to be loaded on the target platform.

Parameters
[in]inputWorkspace

- The InputWorkspace to write.

[in]filename

- The name of the file to write.

...

Write a PrecomputedVisibilityData structure to a stream.

Parameters
[in]visibilityData

- The PrecomputedVisibilityData structure data to write.

[in]stream

- The Geo::IGeoStream to write.

...

Make sure any buffers passed to Read*InPlace functions are 16 byte aligned.


Anchor
adbeb2c0701cb27314ca7bf49b966de36
adbeb2c0701cb27314ca7bf49b966de36

bool GEO_CALL Enlighten::WritePrecomputedVisibilityDataToFile

...

public: bool GEO_CALL WritePrecomputedVisibilityDataToFile
(
    const Enlighten::PrecomputedVisibilityData * visibilityData,
    const char * filename
)

...

Write a PrecomputedVisibilityData structure to a file.

Parameters
[in]visibilityData

- The PrecomputedVisibilityData structure data to write.

[in]filename

- The name of the file to write.


Anchor
a27a7ea02e7fa13e25dad7ee239c2cc2e
a27a7ea02e7fa13e25dad7ee239c2cc2e

...

Write a RadCubeMapCore to a stream, ready to be loaded on the target platform.

Parameters
[in]cubeMapCore

- The RadCubeMapCore to write.

[in]stream

- The Geo::IGeoStream to write to.

...

Write a RadCubeMapCore to file, ready to be loaded on the target platform.

Parameters
[in]cubeMapCore

- The RadCubeMapCore to write.

[in]filename

- The name of the file to write.

...

Write run-time probeset data to a stream, ready to be loaded on the target platform.

Parameters
[in]probeSet

- The probe set data to write.

[in]stream

- The Geo::IGeoStream to write.

...

The data is written in little-endian format, so the loading code must handle this.

Parameters
[in]probeSet

- The probe set data to write.

[in]filename

- The name of the file to write.

...

Write a RadSystemCore to a stream, ready to be loaded on the target platform.

Parameters
[in]system

- The RadSystemCore to write.

[in]stream

- The Geo::IGeoStream to write to.

...

Write a RadSystemCore to file, ready to be loaded on the target platform.

Parameters
[in]system

- The RadSystemCore to write.

[in]filename

- The name of the file to write.

...