Function getElementCount

Synopsis

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

uint32_t getElementCount() const

Description

Get the element count. For structured-buffers, this is the number of structs. For typed-buffers, this is the number of elements. For other buffer, will return 0

Source

Lines 221-221 in Source/Falcor/Core/API/Buffer.h.

uint32_t getElementCount() const { return mElementCount; }





Add Discussion as Guest

Log in