Struct Allocation

Synopsis

#include <Source/Falcor/Core/API/GpuMemoryHeap.h>

struct Allocation : public BaseData

Description

No description yet.

Inheritance

Ancestors: BaseData

Methods

operator<

Source

Lines 54-61 in Source/Falcor/Core/API/GpuMemoryHeap.h.

struct Allocation : public BaseData
{
    uint64_t pageID = 0;
    uint64_t fenceValue = 0;
    static const uint64_t kMegaPageId = -1;
    bool operator<(const Allocation& other)  const { return fenceValue > other.fenceValue; }
};





Add Discussion as Guest

Log in to DocsForge