Function getCBV

Synopsis

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

ConstantBufferView::SharedPtr getCBV()

Description

Get a constant buffer view

Source

Lines 319-323 in Source/Falcor/Core/API/Buffer.cpp. Line 197 in Source/Falcor/Core/API/Buffer.h.

ConstantBufferView::SharedPtr Buffer::getCBV()
{
    if (!mpCBV) mpCBV = ConstantBufferView::create(std::static_pointer_cast<Buffer>(shared_from_this()));
    return mpCBV;
}





Add Discussion as Guest

Log in to DocsForge