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)

Enlighten API 3.10 Documentation
Results will update as you type.
  • class Enlighten PointProjectionOptions
  • class Enlighten PointProjectionScratchMem
  • class Enlighten PointProjectionSurface
  • class Enlighten PointProjectionVersion
  • class Enlighten PppiManager
  • class Enlighten PppiWorld
  • class Enlighten PrecompInputAutoProbeVolume
  • class Enlighten PrecompInputFace
  • class Enlighten PrecompInputInstance
  • class Enlighten PrecompInputOctreeBoxSet
  • class Enlighten PrecompInputOctreePointSet
  • class Enlighten PrecompInputOctreeVolume
  • class Enlighten PrecompInputVertex
  • class Enlighten PrecompMaterialInfo
  • class Enlighten PrecompMeshProperties
  • class Enlighten PrecompOctreeNode
  • class Enlighten PrecompOctreeProbeKey
  • class Enlighten PrecomputedVisibilityData
  • class Enlighten PrecomputedVisibilityWorkspace
  • class Enlighten PrecomputeError
  • class Enlighten PrecomputeLoaderBuilder
  • class Enlighten PrecomputeParameters
  • class Enlighten PrecomputePipeline
  • class Enlighten PrecomputeProcess
  • class Enlighten PrecompVolumeQueryBox
  • class Enlighten PrecompVoxelId
  • class Enlighten PrecompVoxelOctree
  • class Enlighten PrecompVoxelOctreePath
  • class Enlighten PrecompVoxelOctreeVolume
  • class Enlighten ProbeBounceBuffer
  • class Enlighten ProbeBounceWorkspace
  • class Enlighten ProbeInterpolant
  • class Enlighten ProbeInterpolationTask
  • class Enlighten ProbeSetDataBlock
  • class Enlighten ProbeSetManagerVoxel
  • class Enlighten ProbeSetMeta
  • class Enlighten ProbeSetOctreeNode
  • class Enlighten ProbeSetVirtualProbe
  • class Enlighten ProfileHistory
  • class Enlighten QuadIterator
  • class Enlighten QuadShader
  • class Enlighten QuickFlatClusterShader
  • class Enlighten QuickQuadShader
  • class Enlighten R9G9B9E5CpuTextureSampler
  • class Enlighten R11G11B10CpuTextureSampler
  • class Enlighten RadCubeMapCore
  • class Enlighten RadCubeMapMetaData
  • class Enlighten RadCubeMapTask
  • class Enlighten RadDataBlock
  • 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
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Enlighten QuadShader

    This is the documentation for Enlighten.

    class Enlighten QuadShader

    Nov 21, 2019

    class Enlighten::QuadShader

    The QuadShader class is responsible for unpacking the quad positions and normal during the constructor call and then later it will then iterate through a given set of lights shading the extracted quad.

    Variables

    Name Description
    Geo::u32 m_ClusterIdx

    Cluster index.

    Geo::v128 m_NormalsX

    X components of the normals of the quad.

    Geo::v128 m_NormalsY

    Y components of the normals of the quad.

    Geo::v128 m_NormalsZ

    Z components of the normals of the quad.

    Geo::v128 m_PositionsX

    X co-ordinates of the quad.

    Geo::v128 m_PositionsY

    Y co-ordinates of the quad.

    Geo::v128 m_PositionsZ

    Z co-ordinates of the quad.

    Geo::u32 m_QuadIdx

    Quad index.

    Functions

    Name Description
    QuadShader(const Geo::u32, const Geo::u32)

    Constructor.

    QuadShader(const void *, Geo::u32, const Geo::u32, const TransformedBounds< TransformOp > &, const TransformOp &)

    Constructor.

    ShadeLights(const SortedLights *)

    Shade the lights in a SortedLights object.

    TestVolumeCoverage(const VolumeType &, const Geo::Matrix &)

    Test the coverage of the volume over the quad.


    GEO_CONTROLLED_INLINE Enlighten::QuadShader::QuadShader


    public: GEO_CONTROLLED_INLINE QuadShader
    (
        const Geo::u32 clusterIdx,
        const Geo::u32 quadIdx
    )


    Constructor.


    GEO_CONTROLLED_INLINE Enlighten::QuadShader::QuadShader


    public: GEO_CONTROLLED_INLINE QuadShader
    (
        const void * quadDataPtr,
        Geo::u32 clusterIdx,
        const Geo::u32 quadIdx,
        const TransformedBounds< TransformOp > & clusterBounds,
        const TransformOp & transform
    )


    Constructor.


    GEO_CONTROLLED_INLINE Geo::v128 Enlighten::QuadShader::ShadeLights


    public: GEO_CONTROLLED_INLINEGeo::v128 ShadeLights
    (
        const SortedLights * sortedLights
    ) const


    Shade the lights in a SortedLights object.


    GEO_CONTROLLED_INLINE Geo::v128 Enlighten::QuadShader::TestVolumeCoverage


    public: GEO_CONTROLLED_INLINEGeo::v128 TestVolumeCoverage
    (
        const VolumeType & volume,
        const Geo::Matrix & volumeInvTransform
    ) const


    Test the coverage of the volume over the quad.

    , multiple selections available,
    {"serverDuration": 10, "requestCorrelationId": "8322dd8f48464d7b9c1e44e65c5e5b9b"}