Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
class Enlighten TransparencyWorkspace

    This is the documentation for Enlighten.

    class Enlighten TransparencyWorkspace

    Nov 21, 2019

    class Enlighten::TransparencyWorkspace

    Workspace used for authored destruction of lightmapped geometry (internal).

    The transparency workspace.

    The data for this class lies immediately after it in memory.

    An optional feature of the extended input lighting api. This is created using CreateTransparencyWorkspace() from an existing InputWorkspace. The implementation of this class should be considered internal, but is readable in InputWorkspace.h. Normal operation should be through the api below.

    Functions

    Name Description
    CalculateSize(const InputWorkspace *, Geo::s32, Geo::s32, PrecisionHint::Value)

    Determine the required size of the buffer.

    Create(const InputWorkspace *, Geo::s32, Geo::s32, void *, PrecisionHint::Value)

    Construct the buffer in the provided memory.

    GetClusterValues()

    Gets the cluster values.

    GetClusterValues()

    Gets the cluster values.

    GetInputLightingSurroundings()

    Gets the input lighting surroundings.

    GetLastUsedOffset()

    Gets/sets the last used offset.

    GetMaxNumInterpolants()

    Gets the max number of interpolants.

    GetNumInterpolantsArray(Geo::s32)

    Gets the num interpolants array for a cluster. Size of array equals NumLods.

    GetNumLods()

    Gets number of LODs.

    GetNumPositions()

    Gets the number of positions.

    GetProbeInterpolants(Geo::s32, Geo::s32)

    Gets the probe interpolants for a cluster at a given lod.

    GetProbeInterpolants(Geo::s32, Geo::s32)

    Gets the probe interpolants for a cluster at a given lod.

    GetQuadTransparencyValues()

    Get the quad transparency values.

    GetQuadTransparencyValues()

    Get the quad transparency values.

    GetSamplePositions()

    Get the cluster positions.

    GetSamplePositions()

    Get the cluster positions.

    GetTransparencyBuffer()

    Gets the transparency buffer.

    GetTransparencyBuffer()

    Gets the transparency buffer.

    SetLastUsedOffset(float)

    Gets/sets the last used offset.


    static Geo::u32 Enlighten::TransparencyWorkspace::CalculateSize


    public: Geo::u32 CalculateSize
    (
        const InputWorkspace * inputWorkspace,
        Geo::s32 numInterpolants,
        Geo::s32 numLods,
        PrecisionHint::Value precision
    )


    Determine the required size of the buffer.


    static TransparencyWorkspace* Enlighten::TransparencyWorkspace::Create


    public: TransparencyWorkspace * Create
    (
        const InputWorkspace * inputWorkspace,
        Geo::s32 numInterpolants,
        Geo::s32 numLods,
        void * memory,
        PrecisionHint::Value precision
    )


    Construct the buffer in the provided memory.


    LightValueIterator Enlighten::TransparencyWorkspace::GetClusterValues


    public: LightValueIterator GetClusterValues()


    Gets the cluster values.

    There is one value per cluster. Each represents the probe sampled lighting through the cluster.


    ConstLightValueIterator Enlighten::TransparencyWorkspace::GetClusterValues


    public: ConstLightValueIterator GetClusterValues() const


    Gets the cluster values.

    There is one value per cluster. Each represents the probe sampled lighting through the cluster.


    const Geo::v128* Enlighten::TransparencyWorkspace::GetInputLightingSurroundings


    public: const Geo::v128 * GetInputLightingSurroundings() const


    Gets the input lighting surroundings.


    float Enlighten::TransparencyWorkspace::GetLastUsedOffset


    public: float GetLastUsedOffset() const


    Gets/sets the last used offset.


    Geo::s32 Enlighten::TransparencyWorkspace::GetMaxNumInterpolants


    public: Geo::s32 GetMaxNumInterpolants() const


    Gets the max number of interpolants.


    Geo::u8* Enlighten::TransparencyWorkspace::GetNumInterpolantsArray


    public: Geo::u8 * GetNumInterpolantsArray
    (
        Geo::s32 cluster
    )


    Gets the num interpolants array for a cluster. Size of array equals NumLods.


    Geo::s32 Enlighten::TransparencyWorkspace::GetNumLods


    public: Geo::s32 GetNumLods() const


    Gets number of LODs.


    Geo::s32 Enlighten::TransparencyWorkspace::GetNumPositions


    public: Geo::s32 GetNumPositions() const


    Gets the number of positions.


    ProbeInterpolant* Enlighten::TransparencyWorkspace::GetProbeInterpolants


    public: ProbeInterpolant * GetProbeInterpolants
    (
        Geo::s32 cluster,
        Geo::s32 lod
    )


    Gets the probe interpolants for a cluster at a given lod.

    Size of array equals MaxNumInterpolants.


    const ProbeInterpolant* Enlighten::TransparencyWorkspace::GetProbeInterpolants


    public: const ProbeInterpolant * GetProbeInterpolants
    (
        Geo::s32 cluster,
        Geo::s32 lod
    ) const


    Gets the probe interpolants for a cluster at a given lod.

    Size of array equals MaxNumInterpolants.


    const Geo::u8* Enlighten::TransparencyWorkspace::GetQuadTransparencyValues


    public: const Geo::u8 * GetQuadTransparencyValues() const


    Get the quad transparency values.

    This layout matches the InputWorkspace layout.


    Geo::u8* Enlighten::TransparencyWorkspace::GetQuadTransparencyValues


    public: Geo::u8 * GetQuadTransparencyValues()


    Get the quad transparency values.

    This layout matches the InputWorkspace layout.


    const Geo::v128* Enlighten::TransparencyWorkspace::GetSamplePositions


    public: const Geo::v128 * GetSamplePositions() const


    Get the cluster positions.


    Geo::v128* Enlighten::TransparencyWorkspace::GetSamplePositions


    public: Geo::v128 * GetSamplePositions()


    Get the cluster positions.


    TransparencyBuffer* Enlighten::TransparencyWorkspace::GetTransparencyBuffer


    public: TransparencyBuffer * GetTransparencyBuffer()


    Gets the transparency buffer.


    const TransparencyBuffer* Enlighten::TransparencyWorkspace::GetTransparencyBuffer


    public: const TransparencyBuffer * GetTransparencyBuffer() const


    Gets the transparency buffer.


    void Enlighten::TransparencyWorkspace::SetLastUsedOffset


    public: void SetLastUsedOffset
    (
        float offset
    )


    Gets/sets the last used offset.

    , multiple selections available,

    Enlighten API 3.10 Documentation
    Results will update as you type.
    • class Enlighten RadDebugBucketSelectionTask
    • class Enlighten RadDebugColouringTask
    • class Enlighten RadDebugPixelInfo
    • class Enlighten RadiosityInputTree
    • class Enlighten RadiosityInstance
    • class Enlighten RadIrradianceTask
    • class Enlighten RadProbeSetCore
    • class Enlighten RadProbeSetMetaData
    • class Enlighten RadProbeTask
    • class Enlighten RadSystemCore
    • class Enlighten RadSystemMetaData
    • class Enlighten RawBuffer
    • class Enlighten ReadInputLightingBufferInfo
    • class Enlighten RectangleLight
    • class Enlighten RefTextureAllocator
    • class Enlighten RefTextureUpdater
    • class Enlighten ReleaseSystemSolutionSpacesInfo
    • class Enlighten RemoveInfo
    • class Enlighten ResampleBounceParameters
    • class Enlighten ResampleTextureParameters
    • class Enlighten Rgba64Linear
    • class Enlighten RgbaCpuTextureSampler
    • class Enlighten RgbmCpuTextureSampler
    • class Enlighten SetLightBankUpdateCounterInfo
    • class Enlighten SetParameterCommand
    • class Enlighten SetProbeSetTransformInfo
    • class Enlighten SetTransparencySamplePositionOffsetInfo
    • class Enlighten SetVisibilityBitsInfo
    • class Enlighten SolveBounceTask
    • class Enlighten SortedLights
    • class Enlighten SourceMeshInstanceMeta
    • class Enlighten SphereVolume
    • class Enlighten Spotlight
    • class Enlighten SpotlightMeta
    • class Enlighten SystemAlbedoData
    • class Enlighten SystemDataBlock
    • class Enlighten SystemDependencies
    • class Enlighten SystemGrouping
    • class Enlighten SystemMeta
    • class Enlighten TaskProcessor
    • class Enlighten TransparencyWorkspace
    • class Enlighten Triangle2D
    • class Enlighten TriggerVolumeTransparencyGeneric
    • class Enlighten UpdateEnvironmentInfo
    • class Enlighten UpdateLightCommandGeneric
    • class Enlighten UpdateLightInfo
    • class Enlighten UpdateLightOptions
    • class Enlighten UpdateManagerLight
    • class Enlighten UpdateManagerProperties
    • class Enlighten UpdateManagerWorkerProperties
    • class Enlighten Vertex2D
    • class Enlighten VisibilityBuffer
    • class Enlighten WorkerFunctionCommand
    • class Enlighten WorkerFunctionParameterCommand
    • class Enlighten WorkerFunctionTwoParametersCommand
    • class Enlighten WorkerFunctorCommand
    • class Enlighten WorkerObjectFunctionCommand
    • class Enlighten WorkerThreadData
    • class Enlighten WorkspaceAllocator
    • class Enlighten XmlWriter
    • namespace Enlighten Errors
    • namespace Enlighten Helpers
    • namespace Enlighten Iff
    • namespace Enlighten InputLightingValidation
    • namespace Enlighten Itt
    • namespace Enlighten OutputTextureState
    • namespace Enlighten UE4
    • namespace Enlighten Version
    • struct Enlighten AllFilter
    • struct Enlighten BakeInputTexture
    • struct Enlighten CachedLightSelector
    • struct Enlighten CachedLightWriter
    • struct Enlighten CanQuickShade
    • struct Enlighten CanQuickShade< LIGHT_TYPE_DIRECTIONAL_LIGHT >
    • struct Enlighten CountLightSizeVisitor
    • struct Enlighten CullCluster
    • struct Enlighten CullClusterGroup
    • struct Enlighten CullingIterator
    • struct Enlighten CullingIterator< LIGHT_TYPE_INVALID, Culler >
    • struct Enlighten CullSystem
    • struct Enlighten eMetaLightingType
      Calendars

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 9, "requestCorrelationId": "33a30711562d4a2db46a2203b7b0d2ae"}