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 Geo RingBuffer WriteContext

    This is the documentation for Enlighten.

    class Geo RingBuffer WriteContext

    Sept 09, 2025

    class Geo::RingBuffer::WriteContext

    Write context type, which allows efficient and safe writing.

    To write data: 1) Construct WriteContext with the desired size and alignment. This reserves space in the buffer. 2) Write data to the pointer returned by GetAllocation(). 3) Destroy WriteContext. This commits the write, allowing it to be read by the consumer.

    Functions

    Name Description
    ~WriteContext()

    Destructor, commits data to buffer.

    GetAllocation()

    Get the pointer to the data to be written.

    NonCopyable(NonCopyable &&)

    Defaulted to allow move.

    operator=(NonCopyable &&)

    Defaulted to allow move.

    WriteContext(RingBuffer &, u32, u32)

    Construct write context, reserving space in the buffer.


    Geo::RingBuffer::WriteContext::~WriteContext


    public: ~WriteContext()


    Destructor, commits data to buffer.


    void* Geo::RingBuffer::WriteContext::GetAllocation


    public: void * GetAllocation() const


    Get the pointer to the data to be written.


    Geo::NonCopyable::NonCopyable


    public: NonCopyable
    (
        NonCopyable &&
    )


    Defaulted to allow move.


    NonCopyable& Geo::NonCopyable::operator=


    public: NonCopyable & operator=
    (
        NonCopyable &&
    )


    Defaulted to allow move.


    Geo::RingBuffer::WriteContext::WriteContext


    public: WriteContext
    (
        RingBuffer & buffer,
        u32 size,
        u32 alignment
    )


    Construct write context, reserving space in the buffer.

    , multiple selections available,

    Enlighten API 4.03 Documentation
    Results will update as you type.
    • 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 RingBuffer ReadContext
      • class Geo RingBuffer WriteContext
    • 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
    • struct Geo GeoPoint3D
    • struct Geo GeoRGBXTextureElement
    • struct Geo GeoVector3
    • struct Geo GeoVector4
    • struct Geo InitRayTracing
    • struct Geo Matrix4x4
    • struct Geo PerformanceBlock
    • struct Geo RastFragment
    • struct Geo RastTri
    • struct Geo RastVert
    • struct Geo Rayf
      Calendars

    You‘re viewing this with anonymous access, so some content might be blocked.
    {"serverDuration": 20, "requestCorrelationId": "4fed217a0e564d7287768a01388e6a85"}