Function setElement

Synopsis

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

template <typename T>
void setElement(uint32_t index, T const &value)

Description

No description yet.

Source

Lines 279-283 in Source/Falcor/Core/API/Buffer.h.

template<typename T>
void setElement(uint32_t index, T const& value)
{
    setBlob(&value, sizeof(T)*index, sizeof(T));
}





Add Discussion as Guest

Log in to DocsForge