Function getGpuAddress

Synopsis

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

uint64_t getGpuAddress() const

Description

Get the GPU address (this includes the offset)

Source

Lines 117-120 in Source/Falcor/Core/API/D3D12/D3D12Buffer.cpp. Line 213 in Source/Falcor/Core/API/Buffer.h.

uint64_t Buffer::getGpuAddress() const
{
    return mGpuVaOffset + mApiHandle->GetGPUVirtualAddress();
}





Add Discussion as Guest

Log in to DocsForge