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 4.03 Documentation
Results will update as you type.
  • class Geo GeoScopedCSection
  • class Geo GeoSingleton
  • class Geo GeoString
  • class Geo GeoStringView
  • class Geo GeoTimer
  • class Geo GeoTokenList
  • class Geo GeoTokenStream
  • class Geo GeoTriangle
  • class Geo GeoTriple
  • class Geo GeoUniqueDelegatePtr
  • class Geo GeoUniquePtr
  • class Geo GeoUniqueReleasePtr
  • class Geo GeoV128Texture
  • class Geo GeoVariant
  • class Geo GeoVirtualPageAllocator
  • class Geo GeoZLibFileStream
  • class Geo GoodRNG
  • class Geo IdentDataCompare
  • class Geo IdentVertLinkBuilder
  • class Geo IdxLink
  • class Geo IffReader
  • class Geo IffTextWriter
  • class Geo IffWriter
  • class Geo IGeoEvent
  • class Geo IGeoInputStream
  • class Geo IGeoProgressProxy
  • class Geo IGeoRayTracingContext
  • class Geo IGeoReleasable
  • class Geo IGeoSerialisable
  • class Geo IGeoStream
  • class Geo IRtMesh
  • class Geo ITerminalCmdHandler
  • class Geo ITerminalDelegate
  • class Geo ITerminalInputHandler
  • class Geo ITerminalOutputHandler
  • class Geo Matrix
  • class Geo MemoryAllocator
  • class Geo NonCopyable
  • class Geo Optional
  • class Geo OptionalIndex
  • class Geo PackedInteger4
  • class Geo PackedInteger64
  • class Geo PackedIntegerArray
  • class Geo PackedKeyValuePair
  • class Geo PointLeaf
  • class Geo PointSplit
  • class Geo PointSplitBounds
  • class Geo PointSplitState
  • class Geo QuickTaskTimer
  • class Geo RayResult
  • class Geo Releasable
  • class Geo RingBuffer
  • class Geo RtMesh
  • class Geo RtMeshGroup
  • class Geo ScopedTickCounter
  • class Geo ScopedTimer
  • class Geo SHCoeff
  • class Geo SimpleRNG
  • class Geo StridedArrayView
  • class Geo TerminalProvider
  • class Geo TextureWriter
  • class Geo TreeNode
  • class Geo TriGroupSelection
  • class Geo TxtProgressBar
  • namespace Geo Iff
  • namespace Geo PathUtils
  • namespace Geo Version
  • struct Geo ArrayRange
  • struct Geo BboxEdge
  • struct Geo BboxFace
  • struct Geo ClippedRay
  • struct Geo DebugLine
  • struct Geo eWindingOrder
  • struct Geo FixedSizeArray
  • struct Geo GeoAtomic
  • struct Geo GeoError
  • struct Geo GeoFixedPoolList
  • struct Geo GeoFixedPoolMap
  • struct Geo GeoPoint2
  • struct Geo GeoPoint2D
  • struct Geo GeoPoint3
    Calendars

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

    This is the documentation for Enlighten.

    class Geo PackedInteger4

    Sept 09, 2025

    template<Geo::u32>
    class Geo::PackedInteger4

    Represents four unsigned integer values packed into a single 32-bit register and named XYZW.

    Vector addition and multiplication by a scalar are supported, only for values that would not cause overflow.

    Parameters
    N

    The number of bits into which each of XYZ are packed. W is packed into the remaining bits.

    Variables

    Name Description
    Geo::u32 m_Value

    Four unsigned integer values. XYZ are each packed into N low bits. W is packed into the remaining high bits.

    Functions

    Name Description
    GetValue()

    Returns the raw 32-bit value.

    GetW()

    Returns the W component value.

    GetX()

    Returns the X component value.

    GetY()

    Returns the Y component value.

    GetZ()

    Returns the Z component value.

    PackedInteger4(Geo::u32)

    Construct from a raw 32-bit value.

    PackedInteger4(Geo::u32, Geo::u32, Geo::u32, Geo::u32)

    Construct from four components, each using only the appropriate number of bits.

    Friends

    Name Description
    friend PackedInteger4 Maximum3(PackedInteger4 left, PackedInteger4 right)

    Return the element-wise maximum for XYZ.

    friend PackedInteger4 Minimum3(PackedInteger4 left, PackedInteger4 right)

    Return the element-wise minimum for XYZ.

    friend bool operator!=(PackedInteger4 left, PackedInteger4 right)

    Returns true if any corresponding components of both arguments are not equal.

    friend PackedInteger4 operator*(PackedInteger4 left, Geo::u32 right)

    Returns the component-wise product of both arguments.

    friend PackedInteger4 operator/(PackedInteger4 left, Geo::u32 right)

    Returns the component-wise quotient of both arguments.

    friend PackedInteger4 operator+(PackedInteger4 left, PackedInteger4 right)

    Returns the component-wise sum of both arguments.

    friend bool operator<(PackedInteger4 left, PackedInteger4 right)

    Returns true if the left operand is ordered before the right operand.

    friend bool operator==(PackedInteger4 left, PackedInteger4 right)

    Returns true if all corresponding components of both arguments are equal.


    Geo::u32 Geo::PackedInteger4< N >::GetValue


    public: Geo::u32 GetValue() const


    Returns the raw 32-bit value.


    Geo::u32 Geo::PackedInteger4< N >::GetW


    public: Geo::u32 GetW() const


    Returns the W component value.


    Geo::u32 Geo::PackedInteger4< N >::GetX


    public: Geo::u32 GetX() const


    Returns the X component value.


    Geo::u32 Geo::PackedInteger4< N >::GetY


    public: Geo::u32 GetY() const


    Returns the Y component value.


    Geo::u32 Geo::PackedInteger4< N >::GetZ


    public: Geo::u32 GetZ() const


    Returns the Z component value.


    Geo::PackedInteger4< N >::PackedInteger4


    public: PackedInteger4
    (
        Geo::u32 value
    )


    Construct from a raw 32-bit value.


    Geo::PackedInteger4< N >::PackedInteger4


    public: PackedInteger4
    (
        Geo::u32 x,
        Geo::u32 y,
        Geo::u32 z,
        Geo::u32 w
    )


    Construct from four components, each using only the appropriate number of bits.

    , multiple selections available,
    {"serverDuration": 11, "requestCorrelationId": "11c74b88cfa2433ebffc1cb0c92ff1aa"}