Versions Compared

Key

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

class Enlighten::QuickFlatClusterShader

    └>Enlighten::QuadShader

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

Positions are irrelevant.

Functions

Variables

NameDescription
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.


Anchor
a18e6a21000532555a38dc642e1f58373
a18e6a21000532555a38dc642e1f58373

GEO_CONTROLLED_INLINE Enlighten::QuadShader::QuadShader

...

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

...

Constructor.


Anchor
af8e10014c9cf253262ddb28bdaae9ce3
af8e10014c9cf253262ddb28bdaae9ce3

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.


Anchor
a1730aba2226bd7f03a59254e0cb8ac7d
a1730aba2226bd7f03a59254e0cb8ac7d

GEO_CONTROLLED_INLINE Enlighten::QuickFlatClusterShader::QuickFlatClusterShader

...

public: GEO_CONTROLLED_INLINE QuickFlatClusterShader
(
    const void * quadDataPtr,
    const Geo::u32 clusterIdx,
    const Geo::u32 quadIdx,
    const TransformOp & transform
)

...

Constructor.


Anchor
a98267266f6feff87db5eb4b732717a8a
a98267266f6feff87db5eb4b732717a8a

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.


Anchor
ab9e62a33c05b1c37b415742c9a0bff5f
ab9e62a33c05b1c37b415742c9a0bff5f

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.


Anchor
a7632f8dcc1326dae7fdd10c95a14e1b1
a7632f8dcc1326dae7fdd10c95a14e1b1

GEO_CONTROLLED_INLINE void Enlighten::QuickFlatClusterShader::UpdateClusterIdx

...

public: GEO_CONTROLLED_INLINE void UpdateClusterIdx
(
    Geo::u32 idx
)

...

Set the cluster index.


Anchor
af44e5cc817e155451ff274050ed20631
af44e5cc817e155451ff274050ed20631

GEO_CONTROLLED_INLINE void Enlighten::QuickFlatClusterShader::UpdateQuadIdx

...

public: GEO_CONTROLLED_INLINE void UpdateQuadIdx
(
    Geo::u32 idx
)

...

Set the quad index.